summaryrefslogtreecommitdiff
path: root/src/mailman/interact.py
diff options
context:
space:
mode:
authorAndrea Crotti2012-03-13 00:46:31 +0000
committerAndrea Crotti2012-03-13 00:46:31 +0000
commitcb8ee7cd32917fe58a12d4ae767b167356f0a1f5 (patch)
tree0d22be20c3b2a354cf2e46cfb3f75d03b000c6da /src/mailman/interact.py
parent3fe7d15a5c6e54cc0c201b10b9dd1329dffe2cd2 (diff)
downloadmailman-cb8ee7cd32917fe58a12d4ae767b167356f0a1f5.tar.gz
mailman-cb8ee7cd32917fe58a12d4ae767b167356f0a1f5.tar.zst
mailman-cb8ee7cd32917fe58a12d4ae767b167356f0a1f5.zip
Diffstat (limited to 'src/mailman/interact.py')
-rw-r--r--src/mailman/interact.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/interact.py b/src/mailman/interact.py
index 3e7715c00..613a85b0d 100644
--- a/src/mailman/interact.py
+++ b/src/mailman/interact.py
@@ -28,7 +28,7 @@ import os
import sys
import code
-DEFAULT_BANNER = object()
+DEFAULT_BANNER = ""
@@ -69,7 +69,7 @@ def interact(upframe=True, banner=DEFAULT_BANNER, overrides=None):
except:
pass
# We don't want the funky console object in parentheses in the banner.
- if banner is DEFAULT_BANNER:
+ if banner == DEFAULT_BANNER:
banner = '''\
Python %s on %s
Type "help", "copyright", "credits" or "license" for more information.''' % (