summaryrefslogtreecommitdiff
path: root/src/mailman/utilities/interact.py
diff options
context:
space:
mode:
authorBarry Warsaw2016-07-28 23:10:56 -0400
committerBarry Warsaw2016-07-28 23:10:56 -0400
commit90e84bee5f47cbcdb9e9c367c60a877e325ef3e7 (patch)
treebb7d2df3af049c6e84d65fd25cc0258b6af6ebb9 /src/mailman/utilities/interact.py
parent86b25ba2e3bac0e034235d322c7c77080d737833 (diff)
downloadmailman-90e84bee5f47cbcdb9e9c367c60a877e325ef3e7.tar.gz
mailman-90e84bee5f47cbcdb9e9c367c60a877e325ef3e7.tar.zst
mailman-90e84bee5f47cbcdb9e9c367c60a877e325ef3e7.zip
Diffstat (limited to 'src/mailman/utilities/interact.py')
-rw-r--r--src/mailman/utilities/interact.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/utilities/interact.py b/src/mailman/utilities/interact.py
index 904d1b579..fec980b80 100644
--- a/src/mailman/utilities/interact.py
+++ b/src/mailman/utilities/interact.py
@@ -53,7 +53,7 @@ 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.
with suppress(ImportError):
- import readline # noqa
+ import readline # noqa: F401
# Mimic the real interactive interpreter's loading of any $PYTHONSTARTUP
# file. Note that if the startup file is not prepared to be exec'd more
# than once, this could cause a problem.