[Python-apps-commits] r8128 - in packages/pyspread/trunk/debian/patches (2 files)

anoteng-guest at users.alioth.debian.org anoteng-guest at users.alioth.debian.org
Tue Jan 31 16:25:05 UTC 2012


    Date: Tuesday, January 31, 2012 @ 16:25:02
  Author: anoteng-guest
Revision: 8128

Don't load modules from parent dir

Added:
  packages/pyspread/trunk/debian/patches/dont_load_local_modules.patch
Modified:
  packages/pyspread/trunk/debian/patches/series

Added: packages/pyspread/trunk/debian/patches/dont_load_local_modules.patch
===================================================================
--- packages/pyspread/trunk/debian/patches/dont_load_local_modules.patch	                        (rev 0)
+++ packages/pyspread/trunk/debian/patches/dont_load_local_modules.patch	2012-01-31 16:25:02 UTC (rev 8128)
@@ -0,0 +1,13 @@
+--- a/pyspread/src/pyspread.py
++++ b/pyspread/src/pyspread.py
+@@ -62,8 +62,8 @@
+ 
+ # If pyspread is installed but run from a local dir
+ # the local libs are preferred.
+-
+-path.insert(0, "..") 
++# Disabled in the Debian package
++# path.insert(0, "..") 
+ 
+ from src.gui._events import post_command_event, GridActionOpenMsg
+ 

Modified: packages/pyspread/trunk/debian/patches/series
===================================================================
--- packages/pyspread/trunk/debian/patches/series	2012-01-28 17:38:04 UTC (rev 8127)
+++ packages/pyspread/trunk/debian/patches/series	2012-01-31 16:25:02 UTC (rev 8128)
@@ -2,3 +2,4 @@
 tests_bugfix.path
 change_default_paths.patch
 update_faq.patch
+dont_load_local_modules.patch




More information about the Python-apps-commits mailing list