[GRASS-SVN] r53792 - grass/branches/releasebranch_6_4/gui/wxpython/gmodeler
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Nov 13 09:23:23 PST 2012
Author: martinl
Date: 2012-11-13 09:23:22 -0800 (Tue, 13 Nov 2012)
New Revision: 53792
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/gmodeler/model.py
Log:
wxGUI/modeler: encode variables description
(merge r53786 from trunk)
Modified: grass/branches/releasebranch_6_4/gui/wxpython/gmodeler/model.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gmodeler/model.py 2012-11-13 17:22:29 UTC (rev 53791)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gmodeler/model.py 2012-11-13 17:23:22 UTC (rev 53792)
@@ -1829,7 +1829,7 @@
(' ' * self.indent, values['value']))
if 'description' in values:
self.fd.write('%s<description>%s</description>\n' % \
- (' ' * self.indent, values['description']))
+ (' ' * self.indent, EncodeString(values['description'])))
self.indent -= 4
self.fd.write('%s</variable>\n' % (' ' * self.indent))
self.indent -= 4
More information about the grass-commit
mailing list