summaryrefslogtreecommitdiff
path: root/src/mailman/interact.py
diff options
context:
space:
mode:
authorBarry Warsaw2011-08-03 23:01:06 -0400
committerBarry Warsaw2011-08-03 23:01:06 -0400
commitfdb49295a5f859059f2b8d105d30e97f5b059e77 (patch)
tree84bbd8097dc150cc089069761612ae0a47372d79 /src/mailman/interact.py
parent6b7f61df17382d29fcb4b403d4485d1d08481177 (diff)
downloadmailman-fdb49295a5f859059f2b8d105d30e97f5b059e77.tar.gz
mailman-fdb49295a5f859059f2b8d105d30e97f5b059e77.tar.zst
mailman-fdb49295a5f859059f2b8d105d30e97f5b059e77.zip
Diffstat (limited to 'src/mailman/interact.py')
-rw-r--r--src/mailman/interact.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mailman/interact.py b/src/mailman/interact.py
index 758226ef7..1fb01946f 100644
--- a/src/mailman/interact.py
+++ b/src/mailman/interact.py
@@ -48,7 +48,6 @@ def interact(upframe=True, banner=DEFAULT_BANNER, overrides=None):
# Populate the console's with the locals of the frame that called this
# function (i.e. one up from here).
if upframe:
- # pylint: disable-msg=W0212
frame = sys._getframe(1)
namespace.update(frame.f_globals)
namespace.update(frame.f_locals)
@@ -57,7 +56,6 @@ def interact(upframe=True, banner=DEFAULT_BANNER, overrides=None):
interp = code.InteractiveConsole(namespace)
# Try to import the readline module, but don't worry if it's unavailable.
try:
- # pylint: disable-msg=W0612
import readline
except ImportError:
pass
@@ -66,7 +64,6 @@ def interact(upframe=True, banner=DEFAULT_BANNER, overrides=None):
# than once, this could cause a problem.
startup = os.environ.get('PYTHONSTARTUP')
if startup:
- # pylint: disable-msg=W0702
try:
execfile(startup, namespace)
except: