[GRASS-SVN] r52928 - grass/branches/releasebranch_6_4/gui/wxpython/mapdisp
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Aug 26 10:15:10 PDT 2012
Author: annakrat
Date: 2012-08-26 10:15:10 -0700 (Sun, 26 Aug 2012)
New Revision: 52928
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/mapdisp/frame.py
Log:
wxGUI: fixed #1651
Modified: grass/branches/releasebranch_6_4/gui/wxpython/mapdisp/frame.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/mapdisp/frame.py 2012-08-26 15:34:27 UTC (rev 52927)
+++ grass/branches/releasebranch_6_4/gui/wxpython/mapdisp/frame.py 2012-08-26 17:15:10 UTC (rev 52928)
@@ -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