diff options
| author | Andrea Crotti | 2012-03-13 00:46:31 +0000 |
|---|---|---|
| committer | Andrea Crotti | 2012-03-13 00:46:31 +0000 |
| commit | cb8ee7cd32917fe58a12d4ae767b167356f0a1f5 (patch) | |
| tree | 0d22be20c3b2a354cf2e46cfb3f75d03b000c6da /src/mailman/interact.py | |
| parent | 3fe7d15a5c6e54cc0c201b10b9dd1329dffe2cd2 (diff) | |
| download | mailman-cb8ee7cd32917fe58a12d4ae767b167356f0a1f5.tar.gz mailman-cb8ee7cd32917fe58a12d4ae767b167356f0a1f5.tar.zst mailman-cb8ee7cd32917fe58a12d4ae767b167356f0a1f5.zip | |
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.''' % ( |
