[GRASS-SVN] r53786 - grass/trunk/gui/wxpython/gmodeler

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Nov 13 08:29:27 PST 2012


Author: martinl
Date: 2012-11-13 08:29:26 -0800 (Tue, 13 Nov 2012)
New Revision: 53786

Modified:
   grass/trunk/gui/wxpython/gmodeler/model.py
Log:
wxGUI/modeler: encode variables description


Modified: grass/trunk/gui/wxpython/gmodeler/model.py
===================================================================
--- grass/trunk/gui/wxpython/gmodeler/model.py	2012-11-13 11:49:29 UTC (rev 53785)
+++ grass/trunk/gui/wxpython/gmodeler/model.py	2012-11-13 16:29:26 UTC (rev 53786)
@@ -1833,7 +1833,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