[GRASS-SVN] r52929 - grass/branches/develbranch_6/gui/wxpython/mapdisp

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 26 10:16:01 PDT 2012


Author: annakrat
Date: 2012-08-26 10:16:00 -0700 (Sun, 26 Aug 2012)
New Revision: 52929

Modified:
   grass/branches/develbranch_6/gui/wxpython/mapdisp/frame.py
Log:
wxGUI: fixed #1651 (merge from releasebranch, r52928)

Modified: grass/branches/develbranch_6/gui/wxpython/mapdisp/frame.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/mapdisp/frame.py	2012-08-26 17:15:10 UTC (rev 52928)
+++ grass/branches/develbranch_6/gui/wxpython/mapdisp/frame.py	2012-08-26 17:16:00 UTC (rev 52929)
@@ -877,7 +877,7 @@
         vparam = self.tree.GetPyData(self.tree.layer_selected)[0]['cmd']
         for p in vparam:
             if '=' in p:
-                parg,pval = p.split('=')
+                parg,pval = p.split('=', 1)
                 if parg == 'icon': icon = pval
                 elif parg == 'size': size = float(pval)
 



More information about the grass-commit mailing list