]> git.pld-linux.org Git - packages/ipython.git/commitdiff
- do search modules to import in /usr/bin
authorwrobell <wrobell@pld-linux.org>
Thu, 11 Dec 2003 15:53:00 +0000 (15:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ipython-import_path.patch -> 1.1

ipython-import_path.patch [new file with mode: 0644]

diff --git a/ipython-import_path.patch b/ipython-import_path.patch
new file mode 100644 (file)
index 0000000..64cec66
--- /dev/null
@@ -0,0 +1,12 @@
+diff -Nur IPython-0.5.0.orig/scripts/ipython IPython-0.5.0/scripts/ipython
+--- IPython-0.5.0.orig/scripts/ipython 2003-08-22 16:25:42.000000000 +0200
++++ IPython-0.5.0/scripts/ipython      2003-12-11 16:48:31.000000000 +0100
+@@ -23,5 +23,8 @@
+ are trapped first by Python itself.
+ """
++import sys
++del sys.path[0] # remove /usr/bin (or /usr/local/bin, etc.) from import path
++
+ import IPython
+ IPython.Shell.IPShell().mainloop()
This page took 0.106125 seconds and 4 git commands to generate.