[Dive4elements-commits] [PATCH 1 of 2] Do not skip hws_lines when skip hws_points is true
Wald Commits
scm-commit at wald.intevation.org
Tue Feb 19 09:54:29 CET 2013
# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1361263969 -3600
# Branch dami
# Node ID 514948fdae54efc8a2f7fa44c1bbb6d102ed6ba4
# Parent ee52faa6b7ac0b635a327dd685d7030c637f8f69
Do not skip hws_lines when skip hws_points is true
diff -r ee52faa6b7ac -r 514948fdae54 flys-backend/contrib/shpimporter/shpimporter.py
--- a/flys-backend/contrib/shpimporter/shpimporter.py Tue Feb 19 09:44:38 2013 +0100
+++ b/flys-backend/contrib/shpimporter/shpimporter.py Tue Feb 19 09:52:49 2013 +0100
@@ -117,7 +117,8 @@
return True
elif config.skip_hws_lines == 1 and isinstance(importer, HWSLines):
return True
- elif config.skip_hws_points == 1 and isinstance(importer, HWSPoints):
+ elif config.skip_hws_points == 1 and isinstance(importer, HWSPoints) and \
+ not isinstance(importer, HWSLines):
return True
elif config.skip_gauge_locations == 1 and isinstance(importer, GaugeLocation):
return True
More information about the Dive4elements-commits
mailing list