[GRASS-SVN] r52930 - grass/trunk/gui/wxpython/mapdisp
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Aug 26 10:16:43 PDT 2012
Author: annakrat
Date: 2012-08-26 10:16:43 -0700 (Sun, 26 Aug 2012)
New Revision: 52930
Modified:
grass/trunk/gui/wxpython/mapdisp/frame.py
Log:
wxGUI: merge from releasebranch, r52928
Modified: grass/trunk/gui/wxpython/mapdisp/frame.py
===================================================================
--- grass/trunk/gui/wxpython/mapdisp/frame.py 2012-08-26 17:16:00 UTC (rev 52929)
+++ grass/trunk/gui/wxpython/mapdisp/frame.py 2012-08-26 17:16:43 UTC (rev 52930)
@@ -880,7 +880,7 @@
vparam = self.tree.GetPyData(self.tree.layer_selected)[0]['cmd']
for p in vparam:
if '=' in p:
- parg,pval = p.split('=')[0:2]
+ parg,pval = p.split('=', 1)
if parg == 'icon': icon = pval
elif parg == 'size': size = float(pval)
More information about the grass-commit
mailing list