]> git.pld-linux.org Git - packages/ipython.git/commitdiff
- load .pyc file instead of .py to allow ipython config file upgrade on pld auto/th/ipython-0_7_3-1
authorwrobell <wrobell@pld-linux.org>
Sun, 4 Mar 2007 17:36:16 +0000 (17:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ipython-upgrade.patch -> 1.1

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

diff --git a/ipython-upgrade.patch b/ipython-upgrade.patch
new file mode 100644 (file)
index 0000000..c384fec
--- /dev/null
@@ -0,0 +1,11 @@
+--- ipython-0.7.3/IPython/Magic.py.orig        2007-03-04 17:30:37.000000000 +0000
++++ ipython-0.7.3/IPython/Magic.py     2007-03-04 17:30:40.000000000 +0000
+@@ -3050,7 +3050,7 @@
+         """
+         ip = self.getapi()
+         ipinstallation = path(IPython.__file__).dirname()
+-        upgrade_script = '%s "%s"' % (sys.executable,ipinstallation / 'upgrade_dir.py')
++        upgrade_script = '%s "%s"' % (sys.executable,ipinstallation / 'upgrade_dir.pyc')
+         src_config = ipinstallation / 'UserConfig'
+         userdir = path(ip.options.ipythondir)
+         cmd = '%s "%s" "%s"' % (upgrade_script, src_config, userdir)
This page took 0.067352 seconds and 4 git commands to generate.