[GRASS-SVN] r41467 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Mar 17 07:29:23 EDT 2010


Author: martinl
Date: 2010-03-17 07:29:22 -0400 (Wed, 17 Mar 2010)
New Revision: 41467

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/render.py
Log:
wxGUI: split fix


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/render.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/render.py	2010-03-17 11:11:04 UTC (rev 41466)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/render.py	2010-03-17 11:29:22 UTC (rev 41467)
@@ -446,7 +446,7 @@
 
         for line in gisenvCmd.ReadStdOutput():
             line = line.strip()
-            key, val = line.split("=")
+            key, val = line.split("=", 1)
             val = val.replace(";","")
             val = val.replace("'","")
             self.env[key] = val



More information about the grass-commit mailing list