SOURCES: ipython-upgrade.patch (NEW) - load .pyc file instead of ....

wrobell wrobell at pld-linux.org
Sun Mar 4 18:36:21 CET 2007


Author: wrobell                      Date: Sun Mar  4 17:36:21 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- load .pyc file instead of .py to allow ipython config file upgrade on pld

---- Files affected:
SOURCES:
   ipython-upgrade.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/ipython-upgrade.patch
diff -u /dev/null SOURCES/ipython-upgrade.patch:1.1
--- /dev/null	Sun Mar  4 18:36:21 2007
+++ SOURCES/ipython-upgrade.patch	Sun Mar  4 18:36:16 2007
@@ -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)
================================================================


More information about the pld-cvs-commit mailing list