[Dive4elements-commits] [PATCH] Fix skipping of buhnen.shp

Wald Commits scm-commit at wald.intevation.org
Thu Apr 4 14:58:35 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1365080298 -7200
# Node ID b91cc44312b716ab5c056e10ad6e8e36c0b1ba5a
# Parent  1951eb4b0716878f0ed764af57a81a6836a0b354
Fix skipping of buhnen.shp

diff -r 1951eb4b0716 -r b91cc44312b7 flys-backend/contrib/shpimporter/buildings.py
--- a/flys-backend/contrib/shpimporter/buildings.py	Thu Apr 04 12:25:32 2013 +0200
+++ b/flys-backend/contrib/shpimporter/buildings.py	Thu Apr 04 14:58:18 2013 +0200
@@ -46,7 +46,7 @@
 
 
     def isShapeRelevant(self, name, path):
-        return "buhnen.shp" not in name.lower()
+        return "buhnen.shp" not in path.lower()
 
     def getKind(self, feat, path):
         # First try to resolve it with the filename


More information about the Dive4elements-commits mailing list