[GRASS-SVN] r61281 - grass/branches/releasebranch_7_0/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jul 19 15:09:49 PDT 2014


Author: annakrat
Date: 2014-07-19 15:09:49 -0700 (Sat, 19 Jul 2014)
New Revision: 61281

Modified:
   grass/branches/releasebranch_7_0/gui/wxpython/gui_core/dialogs.py
Log:
wxGUI: fix #1972 (v.in.ogr wrapper fails with UnicodeEncodeError?), merged from trunk, r61271

Modified: grass/branches/releasebranch_7_0/gui/wxpython/gui_core/dialogs.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/gui_core/dialogs.py	2014-07-19 16:58:44 UTC (rev 61280)
+++ grass/branches/releasebranch_7_0/gui/wxpython/gui_core/dialogs.py	2014-07-19 22:09:49 UTC (rev 61281)
@@ -2148,7 +2148,7 @@
         for item in data:
             index = self.InsertStringItem(sys.maxint, str(item[0]))
             for i in range(1, len(item)):
-                self.SetStringItem(index, i, "%s" % str(item[i]))
+                self.SetStringItem(index, i, item[i])
         
         # check by default only on one item
         if len(data) == 1:



More information about the grass-commit mailing list