[Dive4elements-commits] [PATCH] Fix syntax error

Wald Commits scm-commit at wald.intevation.org
Fri Feb 15 12:41:31 CET 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1360928487 -3600
# Branch dami
# Node ID fed74592a2ba19c3fd333a27ff7da94db16953b1
# Parent  929ec3ed7dc25c9b9030b179f1ed9bcc615d8702
Fix syntax error

diff -r 929ec3ed7dc2 -r fed74592a2ba flys-backend/contrib/shpimporter/importer.py
--- 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:


More information about the Dive4elements-commits mailing list