changeset 4876:884afa149192

(importer) Style: Remove some empty lines
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 25 Jan 2013 10:43:38 +0100
parents 37fa93f65971
children 852d4c508f33
files flys-backend/contrib/shpimporter/importer.py
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/contrib/shpimporter/importer.py	Fri Jan 25 10:41:59 2013 +0100
+++ b/flys-backend/contrib/shpimporter/importer.py	Fri Jan 25 10:43:38 2013 +0100
@@ -17,19 +17,15 @@
     def getKind(self, path):
         raise NotImplementedError("Importer.getKind is abstract!")
 
-
     def getPath(self, base):
         raise NotImplementedError("Importer.getPath is abstract!")
 
-
     def getTablename(self):
         raise NotImplementedError("Importer.getTablename is abstract!")
 
-
     def getName(self):
         raise NotImplementedError("Importer.getTablename is abstract!")
 
-
     def IsFieldSet(self, feat, name):
         try:
             isset = feat.GetField(name)
@@ -45,11 +41,9 @@
         except:
             return False
 
-
     def isShapeRelevant(self, name, path):
         return True
 
-
     def walkOverShapes(self, shape):
         (name, path) = shape
         if not self.isShapeRelevant(name, path):
@@ -70,7 +64,6 @@
 
         return self.shape2Database(srcLayer, name, path)
 
-
     def transform(self, feat):
         geometry = feat.GetGeometryRef()
         src_srs  = geometry.GetSpatialReference()
@@ -84,7 +77,6 @@
 
         return feat
 
-
     def shape2Database(self, srcLayer, name, path):
         destLayer = self.dbconn.GetLayerByName(self.getTablename())
 
@@ -146,4 +138,3 @@
             shpimporter.ERROR("Exception while committing transaction.")
 
         return geomType
-

http://dive4elements.wald.intevation.org