summaryrefslogtreecommitdiff
path: root/src/mailman/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/__init__.py')
-rw-r--r--src/mailman/__init__.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mailman/__init__.py b/src/mailman/__init__.py
index c54830915..15ce69608 100644
--- a/src/mailman/__init__.py
+++ b/src/mailman/__init__.py
@@ -29,20 +29,6 @@ except ImportError: # pragma: no cover
__path__ = pkgutil.extend_path(__path__, __name__)
-# I hate myself: http://bugs.python.org/issue26632
-def public(thing=None, **kws):
- mdict = (sys._getframe(1).f_globals
- if thing is None
- else sys.modules[thing.__module__].__dict__)
- dunder_all = mdict.setdefault('__all__', [])
- if thing is not None:
- dunder_all.append(thing.__name__)
- for key, value in kws.items():
- dunder_all.append(key)
- mdict[key] = value
- return thing
-
-
# We have to initialize the i18n subsystem before anything else happens,
# however, we'll initialize it differently for tests. We have to do it this
# early so that module contents is set up before anything that needs it is