Skip to content

Commit 413bcda

Browse files
committed
Set up app-specific email addresses so the respective developers will be notified about failures in code they have worked with.
- Legacy-Id: 3205
1 parent 7a2859d commit 413bcda

6 files changed

Lines changed: 107 additions & 0 deletions

File tree

ietf/cookies/__init__.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,20 @@
11
# Copyright The IETF Trust 2010, All Rights Reserved
2+
# coding: latin-1
3+
4+
from types import ModuleType
5+
import urls, views
6+
7+
# These people will be sent a stack trace if there's an uncaught exception in
8+
# code any of the modules imported above:
9+
DEBUG_EMAILS = [
10+
('Tero Kivinen', 'kivinen@iki.fi'),
11+
]
12+
13+
for k in locals().keys():
14+
m = locals()[k]
15+
if isinstance(m, ModuleType):
16+
if hasattr(m, "DEBUG_EMAILS"):
17+
DEBUG_EMAILS += list(getattr(m, "DEBUG_EMAILS"))
18+
setattr(m, "DEBUG_EMAILS", DEBUG_EMAILS)
19+
220

ietf/iesg/__init__.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,20 @@
11
# Copyright The IETF Trust 2007, All Rights Reserved
2+
# coding: latin-1
3+
4+
from types import ModuleType
5+
import urls, models, views, feeds, admin
6+
7+
# These people will be sent a stack trace if there's an uncaught exception in
8+
# code any of the modules imported above:
9+
DEBUG_EMAILS = [
10+
('Ole Laursen', 'olau@iola.dk'),
11+
]
12+
13+
for k in locals().keys():
14+
m = locals()[k]
15+
if isinstance(m, ModuleType):
16+
if hasattr(m, "DEBUG_EMAILS"):
17+
DEBUG_EMAILS += list(getattr(m, "DEBUG_EMAILS"))
18+
setattr(m, "DEBUG_EMAILS", DEBUG_EMAILS)
19+
220

ietf/ietfworkflows/__init__.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# coding: latin-1
2+
3+
from types import ModuleType
4+
import urls, models, views, forms, accounts
5+
6+
# These people will be sent a stack trace if there's an uncaught exception in
7+
# code any of the modules imported above:
8+
DEBUG_EMAILS = [
9+
('Emilio A. Sánchez', 'esanchez@yaco.es'),
10+
]
11+
12+
for k in locals().keys():
13+
m = locals()[k]
14+
if isinstance(m, ModuleType):
15+
if hasattr(m, "DEBUG_EMAILS"):
16+
DEBUG_EMAILS += list(getattr(m, "DEBUG_EMAILS"))
17+
setattr(m, "DEBUG_EMAILS", DEBUG_EMAILS)
18+

ietf/liaisons/__init__.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,19 @@
11
# Copyright The IETF Trust 2007, All Rights Reserved
2+
# coding: latin-1
3+
4+
from types import ModuleType
5+
import urls, models, views, forms, accounts, admin, utils, widgets, mail, decorators, sitemaps, feeds
6+
7+
# These people will be sent a stack trace if there's an uncaught exception in
8+
# code any of the modules imported above:
9+
DEBUG_EMAILS = [
10+
('Emilio A. Sánchez', 'esanchez@yaco.es'),
11+
]
12+
13+
for k in locals().keys():
14+
m = locals()[k]
15+
if isinstance(m, ModuleType):
16+
if hasattr(m, "DEBUG_EMAILS"):
17+
DEBUG_EMAILS += list(getattr(m, "DEBUG_EMAILS"))
18+
setattr(m, "DEBUG_EMAILS", DEBUG_EMAILS)
219

ietf/submit/__init__.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# coding: latin-1
2+
3+
from types import ModuleType
4+
import urls, models, views, forms, utils, admin
5+
6+
# These people will be sent a stack trace if there's an uncaught exception in
7+
# code any of the modules imported above:
8+
DEBUG_EMAILS = [
9+
('Emilio A. Sánchez', 'esanchez@yaco.es'),
10+
]
11+
12+
for k in locals().keys():
13+
m = locals()[k]
14+
if isinstance(m, ModuleType):
15+
if hasattr(m, "DEBUG_EMAILS"):
16+
DEBUG_EMAILS += list(getattr(m, "DEBUG_EMAILS"))
17+
setattr(m, "DEBUG_EMAILS", DEBUG_EMAILS)
18+

ietf/wgchairs/__init__.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# coding: latin-1
2+
3+
from types import ModuleType
4+
import urls, models, views, forms, accounts
5+
6+
# These people will be sent a stack trace if there's an uncaught exception in
7+
# code any of the modules imported above:
8+
DEBUG_EMAILS = [
9+
('Emilio A. Sánchez', 'esanchez@yaco.es'),
10+
]
11+
12+
for k in locals().keys():
13+
m = locals()[k]
14+
if isinstance(m, ModuleType):
15+
if hasattr(m, "DEBUG_EMAILS"):
16+
DEBUG_EMAILS += list(getattr(m, "DEBUG_EMAILS"))
17+
setattr(m, "DEBUG_EMAILS", DEBUG_EMAILS)
18+

0 commit comments

Comments
 (0)