Ticket #14892: IPython.patch

File IPython.patch, 1.1 KB (added by Matt Harasymczuk, 14 years ago)

ipython patch

Line 
1diff -crBN ../django.svn/core/management/commands/shell.py ./core/management/commands/shell.py
2*** ../django.svn/core/management/commands/shell.py 2010-12-11 21:20:16.000000000 +0100
3--- ./core/management/commands/shell.py 2010-12-11 21:19:09.000000000 +0100
4***************
5*** 26,32 ****
6 import IPython
7 # Explicitly pass an empty list as arguments, because otherwise IPython
8 # would use sys.argv from this script.
9! shell = IPython.Shell.IPShell(argv=[])
10 shell.mainloop()
11 except ImportError:
12 import code
13--- 26,33 ----
14 import IPython
15 # Explicitly pass an empty list as arguments, because otherwise IPython
16 # would use sys.argv from this script.
17! #shell = IPython.Shell.IPShell(argv=[])
18! shell = IPython.frontend.terminal.embed.TerminalInteractiveShell()
19 shell.mainloop()
20 except ImportError:
21 import code
22Binary files ../django.svn/core/management/commands/shell.pyc and ./core/management/commands/shell.pyc differ
Back to Top