diff flys-backend/contrib/shpimporter/importer.py @ 5001:fed74592a2ba dami

Fix syntax error
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 15 Feb 2013 12:41:27 +0100
parents 998b29c8d2fd
children f1c01fecf194
line wrap: on
line diff
--- a/flys-backend/contrib/shpimporter/importer.py	Fri Feb 15 12:38:25 2013 +0100
+++ b/flys-backend/contrib/shpimporter/importer.py	Fri Feb 15 12:41:27 2013 +0100
@@ -214,7 +214,7 @@
 
         shpimporter.INFO("Inserted %i features" % success)
         shpimporter.INFO("Failed to create %i features" % creationFailed)
-        for key, value in unsupported:
+        for key, value in unsupported.items():
             shpimporter.INFO("Found %i unsupported features of type: %s" % (value, key))
 
         if self.tracking_import:

http://dive4elements.wald.intevation.org