[GRASS-SVN] r48910 -
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Oct 22 12:23:28 EDT 2011
Author: martinl
Date: 2011-10-22 09:23:28 -0700 (Sat, 22 Oct 2011)
New Revision: 48910
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gmodeler.py
Log:
wxGUI/modeler: encode model properties (desc and user)
(merge r48908 from devbr6)
Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gmodeler.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gmodeler.py 2011-10-22 16:12:56 UTC (rev 48909)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gmodeler.py 2011-10-22 16:23:28 UTC (rev 48910)
@@ -3062,9 +3062,11 @@
if self.properties['name']:
self.fd.write('%s<name>%s</name>\n' % (' ' * self.indent, self.properties['name']))
if self.properties['description']:
- self.fd.write('%s<description>%s</description>\n' % (' ' * self.indent, self.properties['description']))
+ self.fd.write('%s<description>%s</description>\n' % (' ' * self.indent,
+ utils.EncodeString(self.properties['description'])))
if self.properties['author']:
- self.fd.write('%s<author>%s</author>\n' % (' ' * self.indent, self.properties['author']))
+ self.fd.write('%s<author>%s</author>\n' % (' ' * self.indent,
+ utils.EncodeString(self.properties['author'])))
if 'overwrite' in self.properties and \
self.properties['overwrite']:
More information about the grass-commit
mailing list