diff flys-backend/contrib/shpimporter/shpimporter.py @ 5077:c5187ab9f571 dami

Fix Syntax Errror
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 21 Feb 2013 09:46:40 +0100
parents d6860fca89e4
children 40dc001594e4
line wrap: on
line diff
--- a/flys-backend/contrib/shpimporter/shpimporter.py	Wed Feb 20 19:00:03 2013 +0100
+++ b/flys-backend/contrib/shpimporter/shpimporter.py	Thu Feb 21 09:46:40 2013 +0100
@@ -151,7 +151,7 @@
         try:
             import cx_Oracle as dbapi
             raw_connstr=connstr.replace("OCI:", "")
-        except ImportErrror:
+        except ImportError:
             logger.error("Module cx_Oracle not found in: %s\n"
                   "Neccessary to connect to a Oracle Database.\n"
                   "Please refer to the installation "

http://dive4elements.wald.intevation.org