Skip to content

Commit 12722a6

Browse files
committed
Remove backtrace email code from submit __init__.py, after the submit revamp I think I am responsible for all remaining bugs and not esanchez@yaco.es, and the code sometimes annoyingly interferes (through a bug in admin) with loading the submit module in the shell
- Legacy-Id: 6722
1 parent 10a4d28 commit 12722a6

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

ietf/submit/__init__.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +0,0 @@
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-

0 commit comments

Comments
 (0)