[GRASS-SVN] r41388 - grass/branches/develbranch_6/lib/python

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Mar 11 17:49:29 EST 2010


Author: martinl
Date: 2010-03-11 17:49:27 -0500 (Thu, 11 Mar 2010)
New Revision: 41388

Modified:
   grass/branches/develbranch_6/lib/python/core.py
Log:
bugfix #995
(merge r41387 from trunk)


Modified: grass/branches/develbranch_6/lib/python/core.py
===================================================================
--- grass/branches/develbranch_6/lib/python/core.py	2010-03-11 22:43:58 UTC (rev 41387)
+++ grass/branches/develbranch_6/lib/python/core.py	2010-03-11 22:49:27 UTC (rev 41388)
@@ -67,7 +67,8 @@
 	       "universal_newlines", "startupinfo", "creationflags"]
 
 def _make_val(val):
-    if isinstance(val, types.StringType):
+    if isinstance(val, types.StringType) or \
+            isinstance(val, types.UnicodeType):
 	return val
     if isinstance(val, types.ListType):
 	return ",".join(map(_make_val, val))



More information about the grass-commit mailing list