[GRASS-SVN] r30396 - grass/trunk/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Feb 28 18:12:51 EST 2008
Author: martinl
Date: 2008-02-28 18:12:51 -0500 (Thu, 28 Feb 2008)
New Revision: 30396
Modified:
grass/trunk/gui/wxpython/gis_set.py
Log:
wxGUI: (gis_set) expects to find a single colon in each line (Windows issue), http://lists.osgeo.org/pipermail/grass-dev/2008-February/036044.html
Modified: grass/trunk/gui/wxpython/gis_set.py
===================================================================
--- grass/trunk/gui/wxpython/gis_set.py 2008-02-28 20:48:56 UTC (rev 30395)
+++ grass/trunk/gui/wxpython/gis_set.py 2008-02-28 23:12:51 UTC (rev 30396)
@@ -353,7 +353,7 @@
try:
rc = open(gisrc, "r")
for line in rc.readlines():
- key, val = line.split(":")
+ key, val = line.split(":", 1)
grassrc[key.strip()] = val.strip()
finally:
rc.close()
More information about the grass-commit
mailing list