diff options
| author | Barry Warsaw | 2012-03-12 22:01:58 -0700 |
|---|---|---|
| committer | Barry Warsaw | 2012-03-12 22:01:58 -0700 |
| commit | b725360062b08a422f337b272bdbb56b7a41f51d (patch) | |
| tree | 32774958effa98f2b52e13bae84e814639f49ec8 /src/mailman/interact.py | |
| parent | 5f69c4e7c9ee532065e4c19a862f915b2178d482 (diff) | |
| parent | f66b5879531dc37509402cc17c1e7bfe817d964c (diff) | |
| download | mailman-b725360062b08a422f337b272bdbb56b7a41f51d.tar.gz mailman-b725360062b08a422f337b272bdbb56b7a41f51d.tar.zst mailman-b725360062b08a422f337b272bdbb56b7a41f51d.zip | |
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.''' % ( |
