[GRASS-SVN] r53787 - grass/branches/develbranch_6/gui/wxpython/gmodeler
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Nov 13 08:30:56 PST 2012
Author: martinl
Date: 2012-11-13 08:30:56 -0800 (Tue, 13 Nov 2012)
New Revision: 53787
Modified:
grass/branches/develbranch_6/gui/wxpython/gmodeler/model.py
Log:
wxGUI/modeler: encode variables description
(merge r53786 from trunk)
Modified: grass/branches/develbranch_6/gui/wxpython/gmodeler/model.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gmodeler/model.py 2012-11-13 16:29:26 UTC (rev 53786)
+++ grass/branches/develbranch_6/gui/wxpython/gmodeler/model.py 2012-11-13 16:30:56 UTC (rev 53787)
@@ -1835,7 +1835,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