[GRASS-SVN] r36558 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Apr 1 17:11:30 EDT 2009


Author: martinl
Date: 2009-04-01 17:11:30 -0400 (Wed, 01 Apr 2009)
New Revision: 36558

Modified:
   grass/trunk/gui/wxpython/gui_modules/utils.py
Log:
wxGUI: fix where parsering
       (merge from devbr6, r36557)


Modified: grass/trunk/gui/wxpython/gui_modules/utils.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/utils.py	2009-04-01 21:06:34 UTC (rev 36557)
+++ grass/trunk/gui/wxpython/gui_modules/utils.py	2009-04-01 21:11:30 UTC (rev 36558)
@@ -347,7 +347,7 @@
     dcmd = {}
     for item in cmd[1:]:
         if '=' in item:
-            key, value = item.split('=')
+            key, value = item.split('=', 1)
             dcmd[str(key)] = str(value)
         else: # -> flags
             if not dcmd.has_key('flags'):



More information about the grass-commit mailing list