diff options
Diffstat (limited to 'src/mailman/interact.py')
| -rw-r--r-- | src/mailman/interact.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mailman/interact.py b/src/mailman/interact.py index 3e7715c00..dd6bac9f0 100644 --- a/src/mailman/interact.py +++ b/src/mailman/interact.py @@ -24,11 +24,12 @@ __all__ = [ 'interact', ] + import os import sys import code -DEFAULT_BANNER = object() +DEFAULT_BANNER = '' @@ -69,7 +70,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.''' % ( |
