summaryrefslogtreecommitdiff
path: root/src/mailman/utilities/interact.py
diff options
context:
space:
mode:
authorBarry Warsaw2015-01-04 20:20:33 -0500
committerBarry Warsaw2015-01-04 20:20:33 -0500
commit4a612db8e89afed74173b93f3b64fa567b8417a3 (patch)
tree81a687d113079a25f93279f35c7eee2aa2572510 /src/mailman/utilities/interact.py
parent84af79988a4e916604cba31843778206efb7d1b8 (diff)
parentde181c1a40965a3a7deedd56a034a946f45b6984 (diff)
downloadmailman-4a612db8e89afed74173b93f3b64fa567b8417a3.tar.gz
mailman-4a612db8e89afed74173b93f3b64fa567b8417a3.tar.zst
mailman-4a612db8e89afed74173b93f3b64fa567b8417a3.zip
Diffstat (limited to 'src/mailman/utilities/interact.py')
-rw-r--r--src/mailman/utilities/interact.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mailman/utilities/interact.py b/src/mailman/utilities/interact.py
index 8bca9ee40..c7531f302 100644
--- a/src/mailman/utilities/interact.py
+++ b/src/mailman/utilities/interact.py
@@ -17,9 +17,6 @@
"""Provide an interactive prompt, mimicking the Python interpreter."""
-from __future__ import absolute_import, print_function, unicode_literals
-
-__metaclass__ = type
__all__ = [
'interact',
]
@@ -78,9 +75,3 @@ Type "help", "copyright", "credits" or "license" for more information.''' % (
elif not banner:
banner = None
interp.interact(banner)
- # When an exception occurs in the InteractiveConsole, the various
- # sys.exc_* attributes get set so that error handling works the same way
- # there as it does in the built-in interpreter. Be anal about clearing
- # any exception information before we're done.
- sys.exc_clear()
- sys.last_type = sys.last_value = sys.last_traceback = None