summaryrefslogtreecommitdiff
path: root/src/mailman/utilities/interact.py
diff options
context:
space:
mode:
authorBarry Warsaw2015-01-02 10:47:14 -0500
committerBarry Warsaw2015-01-02 10:47:14 -0500
commit3b97444c92f1178cc997024081f5239773048f42 (patch)
tree143eacba9b66acd7f37609c914d266f7d24bf46c /src/mailman/utilities/interact.py
parent151a1508377e07cf24bac49fe7585e47e14c7504 (diff)
downloadmailman-3b97444c92f1178cc997024081f5239773048f42.tar.gz
mailman-3b97444c92f1178cc997024081f5239773048f42.tar.zst
mailman-3b97444c92f1178cc997024081f5239773048f42.zip
Diffstat (limited to 'src/mailman/utilities/interact.py')
-rw-r--r--src/mailman/utilities/interact.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mailman/utilities/interact.py b/src/mailman/utilities/interact.py
index cdc2b3002..c7531f302 100644
--- a/src/mailman/utilities/interact.py
+++ b/src/mailman/utilities/interact.py
@@ -75,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