# Copyright The IETF Trust 2007-2020, All Rights Reserved # -*- coding: utf-8 -*- from types import ModuleType # These people will be sent a stack trace if there's an uncaught exception in # code any of the modules imported above: DEBUG_EMAILS = [ ('Emilio A. Sánchez', 'esanchez@yaco.es'), ] for k in list(locals().keys()): m = locals()[k] if isinstance(m, ModuleType): if hasattr(m, "DEBUG_EMAILS"): DEBUG_EMAILS += list(getattr(m, "DEBUG_EMAILS")) setattr(m, "DEBUG_EMAILS", DEBUG_EMAILS)