Mercurial > dive4elements > river
diff flys-backend/contrib/shpimporter/shpimporter.py @ 5011:514948fdae54 dami
Do not skip hws_lines when skip hws_points is true
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Tue, 19 Feb 2013 09:52:49 +0100 |
parents | 769593a84606 |
children | a79f6a085ab6 |
line wrap: on
line diff
--- 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