diff flys-backend/contrib/shpimporter/shpimporter.py @ 4977:ee908e4946cd dami

corrected Typo
author Tom Gottfried <tom.gottfried@intevation.de>
date Wed, 13 Feb 2013 18:35:37 +0100
parents 9eea3cd22ee7
children b5ac7588cf4d
line wrap: on
line diff
--- a/flys-backend/contrib/shpimporter/shpimporter.py	Wed Feb 13 17:49:30 2013 +0100
+++ b/flys-backend/contrib/shpimporter/shpimporter.py	Wed Feb 13 18:35:37 2013 +0100
@@ -1,6 +1,6 @@
 try:
     from osgeo import ogr
-except ImportErrror:
+except ImportError:
     import ogr
 
 import utils, optparse
@@ -169,7 +169,7 @@
         try:
             import psycopg2 as dbapi
             raw_connstr=connstr.replace("PG:", "")
-        except ImportErrror:
+        except ImportError:
             ERROR("Module psycopg2 not found in: %s\n"
                   "Neccessary to connect to a Posgresql Database.\n"
                   "Please refer to the installation "

http://dive4elements.wald.intevation.org