[QGIS Commit] r8508 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri May 23 13:10:50 EDT 2008


Author: wonder
Date: 2008-05-23 13:10:50 -0400 (Fri, 23 May 2008)
New Revision: 8508

Modified:
   trunk/qgis/src/app/qgspythonutils.cpp
Log:
more sane python paths order: first qgis-wide python path, then plugins


Modified: trunk/qgis/src/app/qgspythonutils.cpp
===================================================================
--- trunk/qgis/src/app/qgspythonutils.cpp	2008-05-23 17:07:23 UTC (rev 8507)
+++ trunk/qgis/src/app/qgspythonutils.cpp	2008-05-23 17:10:50 UTC (rev 8508)
@@ -51,7 +51,7 @@
   
   // expect that bindings are installed locally, so add the path to modules
   // also add path to plugins
-  runString("sys.path = [\"" + homePluginsPath()  + "\", \"" + pythonPath() + "\", \"" + pluginsPath() + "\"] + sys.path");
+  runString("sys.path = [\"" + pythonPath() + "\", \"" + homePluginsPath()  + "\", \"" + pluginsPath() + "\"] + sys.path");
 
   // import SIP
   if (!runString("from sip import wrapinstance, unwrapinstance",



More information about the QGIS-commit mailing list