=?windows-1252?Q?Bug_579560_=96_pythonpath_modifications_make_meld_cr?= =?windows-1252?Q?ash?=



If there is a paths.py or misc.py, or whatever we internally
use, in the user's PYTHONPATH, meld will crash at startup...

This has happened to people:

https://bugs.launchpad.net/ubuntu/+source/meld/+bug/360097
https://bugs.launchpad.net/ubuntu/+source/meld/+bug/250525
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471154

This may not be considered as a bug in meld itself, but
users are annoyed...

What about committing the following patch which is an
adaptation of the debian workaround ?

-- 
Vincent Legoll
Index: meld
===================================================================
--- meld	(revision 1351)
+++ meld	(working copy)
@@ -29,7 +29,7 @@
 #
 # i18n support
 #
-sys.path += [ #LIBDIR#
+sys.path[0:0] = [ #LIBDIR#
 ]
 import paths
 import gettext


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]