datatracker/ietf/cookies/__init__.py

23 lines
607 B
Python

# Copyright The IETF Trust 2010-2019, All Rights Reserved
# coding: latin-1
from __future__ import absolute_import, print_function, unicode_literals
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 = [
('Tero Kivinen', 'kivinen@iki.fi'),
]
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)