diff options
| author | Julian Taylor <jtaylor.debian@googlemail.com> | 2011-07-25 10:25:35 +0200 |
|---|---|---|
| committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2011-07-25 10:25:35 +0200 |
| commit | dd91eb061edc328ae8a96df0b719624804d5ef31 (patch) | |
| tree | 7af0bb69a2ad3cf31c779ac20bcb77003396c125 | |
| parent | 282a62fc3e943a416e22575d8dc9381f2077f273 (diff) | |
| download | pyramid-dd91eb061edc328ae8a96df0b719624804d5ef31.tar.gz pyramid-dd91eb061edc328ae8a96df0b719624804d5ef31.tar.bz2 pyramid-dd91eb061edc328ae8a96df0b719624804d5ef31.zip | |
fix banner display for ipython < 0.11
| -rw-r--r-- | pyramid/paster.py | 2 |
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 |
