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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Jul 11 17:17:51 CEST 2011


Author: aheinecke
Date: 2011-07-11 17:17:50 +0200 (Mon, 11 Jul 2011)
New Revision: 403

Modified:
   trunk/GREAT-ER/Greater/Modules/catchment.py
Log:
Add terminating character to the utf in the cpg file


Modified: trunk/GREAT-ER/Greater/Modules/catchment.py
===================================================================
--- trunk/GREAT-ER/Greater/Modules/catchment.py	2011-07-11 13:18:42 UTC (rev 402)
+++ trunk/GREAT-ER/Greater/Modules/catchment.py	2011-07-11 15:17:50 UTC (rev 403)
@@ -588,7 +588,7 @@
         if fname.endswith(".shp"):
             fptr = open(os.path.join(shapefile_dir,
                                      fname.replace(".shp", ".cpg")), "w")
-            fptr.write("UTF-8")
+            fptr.write("UTF-8\n")
             fptr.close()
 
     if pics_present:



More information about the Greater-commits mailing list