[GRASS-SVN] r70531 - grass/trunk/gui/wxpython/core
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Feb 11 11:22:10 PST 2017
Author: annakrat
Date: 2017-02-11 11:22:10 -0800 (Sat, 11 Feb 2017)
New Revision: 70531
Modified:
grass/trunk/gui/wxpython/core/workspace.py
Log:
wxGUI: encode values when saving workspace with overlays (see #3275)
Modified: grass/trunk/gui/wxpython/core/workspace.py
===================================================================
--- grass/trunk/gui/wxpython/core/workspace.py 2017-02-10 16:44:16 UTC (rev 70530)
+++ grass/trunk/gui/wxpython/core/workspace.py 2017-02-11 19:22:10 UTC (rev 70531)
@@ -1567,7 +1567,7 @@
else:
self.file.write('%s<parameter name="%s">\n' % (' ' * self.indent, prm.split("=", 1)[0]))
self.indent += 4
- self.file.write('%s<value>%s</value>\n' % (' ' * self.indent, prm.split("=", 1)[1]))
+ self.file.write('%s<value>%s</value>\n' % (' ' * self.indent, EncodeString(prm.split("=", 1)[1])))
self.indent -= 4
self.file.write('%s</parameter>\n' % (' ' * self.indent))
self.indent -= 4
More information about the grass-commit
mailing list