[GRASS-SVN] r36557 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Apr 1 17:06:34 EDT 2009


Author: martinl
Date: 2009-04-01 17:06:34 -0400 (Wed, 01 Apr 2009)
New Revision: 36557

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/utils.py
Log:
wxGUI: fix where parsering

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/utils.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/utils.py	2009-03-31 21:44:29 UTC (rev 36556)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/utils.py	2009-04-01 21:06:34 UTC (rev 36557)
@@ -345,7 +345,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