[Dive4elements-commits] [PATCH] corrected Typo

Wald Commits scm-commit at wald.intevation.org
Wed Feb 13 18:58:28 CET 2013


# HG changeset patch
# User Tom Gottfried <tom.gottfried at intevation.de>
# Date 1360776937 -3600
# Branch dami
# Node ID ee908e4946cde3ed1466fc56b12fb728417c5fba
# Parent  a6ee62a070b0c9f53e1319a7dd875baded9a0099
corrected Typo

diff -r a6ee62a070b0 -r ee908e4946cd flys-backend/contrib/shpimporter/shpimporter.py
--- 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 "


More information about the Dive4elements-commits mailing list