[GRASS-SVN] r63943 - grass/trunk/gui/wxpython/core

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jan 3 07:11:31 PST 2015


Author: annakrat
Date: 2015-01-03 07:11:31 -0800 (Sat, 03 Jan 2015)
New Revision: 63943

Modified:
   grass/trunk/gui/wxpython/core/utils.py
Log:
do not use str with unicode, relates to #2524

Modified: grass/trunk/gui/wxpython/core/utils.py
===================================================================
--- grass/trunk/gui/wxpython/core/utils.py	2015-01-03 12:43:36 UTC (rev 63942)
+++ grass/trunk/gui/wxpython/core/utils.py	2015-01-03 15:11:31 UTC (rev 63943)
@@ -198,7 +198,7 @@
     .. todo::
         Better use directly Ctypes to reuse venerable libgis C fns...
     """
-    retName = str(name).strip()
+    retName = name.strip()
     
     # check if name is fully qualified
     if '@' in retName:



More information about the grass-commit mailing list