# HG changeset patch # User Andre Heinecke # Date 1361436400 -3600 # Node ID c5187ab9f571a69fb051256b4e45387b69534ebe # Parent e34c9687299d47de6d72f94c34c0571b65b6d108 Fix Syntax Errror diff -r e34c9687299d -r c5187ab9f571 flys-backend/contrib/shpimporter/axis.py --- a/flys-backend/contrib/shpimporter/axis.py Wed Feb 20 19:00:03 2013 +0100 +++ b/flys-backend/contrib/shpimporter/axis.py Thu Feb 21 09:46:40 2013 +0100 @@ -1,6 +1,6 @@ try: from osgeo import ogr -except ImportErrror: +except ImportError: import ogr from importer import Importer diff -r e34c9687299d -r c5187ab9f571 flys-backend/contrib/shpimporter/boundaries.py --- a/flys-backend/contrib/shpimporter/boundaries.py Wed Feb 20 19:00:03 2013 +0100 +++ b/flys-backend/contrib/shpimporter/boundaries.py Thu Feb 21 09:46:40 2013 +0100 @@ -1,6 +1,6 @@ try: from osgeo import ogr -except ImportErrror: +except ImportError: import ogr from importer import Importer diff -r e34c9687299d -r c5187ab9f571 flys-backend/contrib/shpimporter/buildings.py --- a/flys-backend/contrib/shpimporter/buildings.py Wed Feb 20 19:00:03 2013 +0100 +++ b/flys-backend/contrib/shpimporter/buildings.py Thu Feb 21 09:46:40 2013 +0100 @@ -1,6 +1,6 @@ try: from osgeo import ogr -except ImportErrror: +except ImportError: import ogr from importer import Importer diff -r e34c9687299d -r c5187ab9f571 flys-backend/contrib/shpimporter/catchments.py --- a/flys-backend/contrib/shpimporter/catchments.py Wed Feb 20 19:00:03 2013 +0100 +++ b/flys-backend/contrib/shpimporter/catchments.py Thu Feb 21 09:46:40 2013 +0100 @@ -1,6 +1,6 @@ try: from osgeo import ogr -except ImportErrror: +except ImportError: import ogr from importer import Importer diff -r e34c9687299d -r c5187ab9f571 flys-backend/contrib/shpimporter/crosssectiontracks.py --- a/flys-backend/contrib/shpimporter/crosssectiontracks.py Wed Feb 20 19:00:03 2013 +0100 +++ b/flys-backend/contrib/shpimporter/crosssectiontracks.py Thu Feb 21 09:46:40 2013 +0100 @@ -1,6 +1,6 @@ try: from osgeo import ogr -except ImportErrror: +except ImportError: import ogr from importer import Importer diff -r e34c9687299d -r c5187ab9f571 flys-backend/contrib/shpimporter/fixpoints.py --- a/flys-backend/contrib/shpimporter/fixpoints.py Wed Feb 20 19:00:03 2013 +0100 +++ b/flys-backend/contrib/shpimporter/fixpoints.py Thu Feb 21 09:46:40 2013 +0100 @@ -1,6 +1,6 @@ try: from osgeo import ogr, osr -except ImportErrror: +except ImportError: import ogr, osr from importer import Importer diff -r e34c9687299d -r c5187ab9f571 flys-backend/contrib/shpimporter/floodplains.py --- a/flys-backend/contrib/shpimporter/floodplains.py Wed Feb 20 19:00:03 2013 +0100 +++ b/flys-backend/contrib/shpimporter/floodplains.py Thu Feb 21 09:46:40 2013 +0100 @@ -1,6 +1,6 @@ try: from osgeo import ogr -except ImportErrror: +except ImportError: import ogr from importer import Importer diff -r e34c9687299d -r c5187ab9f571 flys-backend/contrib/shpimporter/gauges.py --- a/flys-backend/contrib/shpimporter/gauges.py Wed Feb 20 19:00:03 2013 +0100 +++ b/flys-backend/contrib/shpimporter/gauges.py Thu Feb 21 09:46:40 2013 +0100 @@ -1,6 +1,6 @@ try: from osgeo import ogr -except ImportErrror: +except ImportError: import ogr from importer import Importer diff -r e34c9687299d -r c5187ab9f571 flys-backend/contrib/shpimporter/hws.py --- a/flys-backend/contrib/shpimporter/hws.py Wed Feb 20 19:00:03 2013 +0100 +++ b/flys-backend/contrib/shpimporter/hws.py Thu Feb 21 09:46:40 2013 +0100 @@ -3,7 +3,7 @@ try: from osgeo import ogr -except ImportErrror: +except ImportError: import ogr from importer import Importer diff -r e34c9687299d -r c5187ab9f571 flys-backend/contrib/shpimporter/importer.py --- a/flys-backend/contrib/shpimporter/importer.py Wed Feb 20 19:00:03 2013 +0100 +++ b/flys-backend/contrib/shpimporter/importer.py Thu Feb 21 09:46:40 2013 +0100 @@ -1,6 +1,6 @@ try: from osgeo import ogr, osr -except ImportErrror: +except ImportError: import ogr, osr import utils import re diff -r e34c9687299d -r c5187ab9f571 flys-backend/contrib/shpimporter/km.py --- a/flys-backend/contrib/shpimporter/km.py Wed Feb 20 19:00:03 2013 +0100 +++ b/flys-backend/contrib/shpimporter/km.py Thu Feb 21 09:46:40 2013 +0100 @@ -1,6 +1,6 @@ try: from osgeo import ogr -except ImportErrror: +except ImportError: import ogr from importer import Importer diff -r e34c9687299d -r c5187ab9f571 flys-backend/contrib/shpimporter/shpimporter.py --- 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 " diff -r e34c9687299d -r c5187ab9f571 flys-backend/contrib/shpimporter/uesg.py --- a/flys-backend/contrib/shpimporter/uesg.py Wed Feb 20 19:00:03 2013 +0100 +++ b/flys-backend/contrib/shpimporter/uesg.py Thu Feb 21 09:46:40 2013 +0100 @@ -1,6 +1,6 @@ try: from osgeo import ogr -except ImportErrror: +except ImportError: import ogr from importer import Importer diff -r e34c9687299d -r c5187ab9f571 flys-backend/contrib/shpimporter/utils.py --- a/flys-backend/contrib/shpimporter/utils.py Wed Feb 20 19:00:03 2013 +0100 +++ b/flys-backend/contrib/shpimporter/utils.py Thu Feb 21 09:46:40 2013 +0100 @@ -4,7 +4,7 @@ try: from osgeo import ogr -except ImportErrror: +except ImportError: import ogr logger = logging.getLogger("utils")