summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Taylor <jtaylor.debian@googlemail.com>2011-07-25 10:25:35 +0200
committerJulian Taylor <jtaylor.debian@googlemail.com>2011-07-25 10:25:35 +0200
commitdd91eb061edc328ae8a96df0b719624804d5ef31 (patch)
tree7af0bb69a2ad3cf31c779ac20bcb77003396c125
parent282a62fc3e943a416e22575d8dc9381f2077f273 (diff)
downloadpyramid-dd91eb061edc328ae8a96df0b719624804d5ef31.tar.gz
pyramid-dd91eb061edc328ae8a96df0b719624804d5ef31.tar.bz2
pyramid-dd91eb061edc328ae8a96df0b719624804d5ef31.zip
fix banner display for ipython < 0.11
-rw-r--r--pyramid/paster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyramid/paster.py b/pyramid/paster.py
index 8eb8f2413..277f093d7 100644
--- a/pyramid/paster.py
+++ b/pyramid/paster.py
@@ -200,7 +200,7 @@ class PShellCommand(PCommand):
except ImportError: #pragma no cover
from IPython.Shell import IPShellEmbed
IPShell = IPShellEmbed(argv=[], user_ns=env)
- IPShell.IP.BANNER = IPShell.IP.BANNER + '\n\n' + help
+ IPShell.set_banner(IPShell.IP.BANNER + '\n' + help)
except ImportError: #pragma no cover
IPShell = None