Mercurial > dive4elements > river
changeset 5077:c5187ab9f571 dami
Fix Syntax Errror
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Thu, 21 Feb 2013 09:46:40 +0100 |
parents | e34c9687299d |
children | 0fd7720e5c7f |
files | flys-backend/contrib/shpimporter/axis.py flys-backend/contrib/shpimporter/boundaries.py flys-backend/contrib/shpimporter/buildings.py flys-backend/contrib/shpimporter/catchments.py flys-backend/contrib/shpimporter/crosssectiontracks.py flys-backend/contrib/shpimporter/fixpoints.py flys-backend/contrib/shpimporter/floodplains.py flys-backend/contrib/shpimporter/gauges.py flys-backend/contrib/shpimporter/hws.py flys-backend/contrib/shpimporter/importer.py flys-backend/contrib/shpimporter/km.py flys-backend/contrib/shpimporter/shpimporter.py flys-backend/contrib/shpimporter/uesg.py flys-backend/contrib/shpimporter/utils.py |
diffstat | 14 files changed, 14 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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 "