1
Index: pylons-0.10/pylons/commands.py
2
===================================================================
3
--- pylons-0.10.orig/pylons/commands.py 2011-07-24 15:28:25.708719706 +0200
4
+++ pylons-0.10/pylons/commands.py 2011-07-24 15:28:31.848719709 +0200
8
# try to use IPython if possible
9
- from IPython.Shell import IPShellEmbed
11
+ from IPython.frontend.terminal.embed import InteractiveShellEmbed
12
+ shell = InteractiveShellEmbed(banner2=banner)
14
+ from IPython.Shell import IPShellEmbed
15
+ shell = IPShellEmbed(argv=self.args)
16
+ shell.set_banner(shell.IP.BANNER + '\n\n' + banner)
18
- shell = IPShellEmbed(argv=self.args)
19
- shell.set_banner(shell.IP.BANNER + '\n\n' + banner)
21
shell(local_ns=locs, global_ns={})