diff options
Diffstat (limited to 'src/mailman/interact.py')
| -rw-r--r-- | src/mailman/interact.py | 4 |
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.''' % ( |
