geopython / OWSLib

OWSLib is a Python package for client programming with Open Geospatial Consortium (OGC) web service (hence OWS) interface standards, and their related content models.
https://owslib.readthedocs.io
BSD 3-Clause "New" or "Revised" License
392 stars 278 forks source link

use flag instead of for-else in csw:retrecords #919

Closed pvgenuchten closed 7 months ago

pvgenuchten commented 7 months ago

for-else works on break in outer loop only, so replace by flag on a xml-url being found

resolves #917

coveralls commented 7 months ago

Coverage Status

coverage: 59.929% (-0.01%) from 59.942% when pulling 46c541dcf227e0b76d88f3c9dc5b1ba4df294645 on pvgenuchten:for_else_should_be_on_outer_loop into 2f00ab82a5d201e5366cce80076610896b755c3f on geopython:master.