# HG changeset patch # User Andre Heinecke # Date 1361263969 -3600 # 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