[Greater-commits] r3623 - trunk/GREAT-ER/Greater/Modules

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Jul 20 14:59:51 CEST 2011


Author: aheinecke
Date: 2011-07-20 14:59:50 +0200 (Wed, 20 Jul 2011)
New Revision: 3623

Modified:
   trunk/GREAT-ER/Greater/Modules/catchment.py
Log:
Do not explicitly cast the string type to ascii it can also be unicode


Modified: trunk/GREAT-ER/Greater/Modules/catchment.py
===================================================================
--- trunk/GREAT-ER/Greater/Modules/catchment.py	2011-07-20 12:52:22 UTC (rev 3622)
+++ trunk/GREAT-ER/Greater/Modules/catchment.py	2011-07-20 12:59:50 UTC (rev 3623)
@@ -205,7 +205,7 @@
                     value = None
                 return value
             elif f[1] == FIELDTYPE_STRING:
-                return str(v)
+                return v
             return v
     
         for r in records:



More information about the Greater-commits mailing list