From 24782163cbd99afd4dd4776eb09aa24a307747cd Mon Sep 17 00:00:00 2001 From: Robert Sparks Date: Wed, 11 Aug 2021 15:35:28 +0000 Subject: [PATCH] Remove outdated mechanic for adding additional email addresses to crash reports from several apps. Commit ready for merge. - Legacy-Id: 19298 --- ietf/cookies/__init__.py | 17 ----------------- ietf/iesg/__init__.py | 17 ----------------- ietf/liaisons/__init__.py | 15 --------------- 3 files changed, 49 deletions(-) diff --git a/ietf/cookies/__init__.py b/ietf/cookies/__init__.py index 6ac522698..57ea65027 100644 --- a/ietf/cookies/__init__.py +++ b/ietf/cookies/__init__.py @@ -1,20 +1,3 @@ # Copyright The IETF Trust 2010-2020, All Rights Reserved # coding: latin-1 - -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) - - diff --git a/ietf/iesg/__init__.py b/ietf/iesg/__init__.py index f53d26ebf..1eeb6b79f 100644 --- a/ietf/iesg/__init__.py +++ b/ietf/iesg/__init__.py @@ -1,20 +1,3 @@ # 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 = [ - ('Ole Laursen', 'olau@iola.dk'), -] - -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) - - diff --git a/ietf/liaisons/__init__.py b/ietf/liaisons/__init__.py index fc762171a..ac9356b97 100644 --- a/ietf/liaisons/__init__.py +++ b/ietf/liaisons/__init__.py @@ -2,18 +2,3 @@ # -*- 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) -