Bas Couwenberg pushed to branch upstream at Debian GIS Project / pycsw
Commits: 859dc0b4 by Bas Couwenberg at 2020-01-18T07:59:52+01:00 New upstream version 2.4.2+dfsg - - - - - 5 changed files: - VERSION.txt - docs/_templates/indexsidebar.html - pycsw/plugins/profiles/apiso/apiso.py - requirements-standalone.txt - requirements.txt Changes: ===================================== VERSION.txt ===================================== @@ -1 +1 @@ -2.4.1 +2.4.2 ===================================== docs/_templates/indexsidebar.html ===================================== @@ -1,5 +1,5 @@ <p> - <img alt="pycsw" src="https://raw.githubusercontent.com/geopython/pycsw/master/docs/_static/logo/logo-horizontal.png" height="119"/> + <img style="background: white;" alt="pycsw" src="https://raw.githubusercontent.com/geopython/pycsw/master/docs/_static/logo/logo-horizontal.png" height="75" /> </p> <p> @@ -15,7 +15,7 @@ </p> <p> - <img alt="OSGeo Project" src="https://raw.githubusercontent.com/OSGeo/osgeo/master/incubation/project/OSGeo_project.png" height="64"/> + <img style="background: white;" alt="OSGeo Project" src="https://raw.githubusercontent.com/OSGeo/osgeo/master/incubation/project/OSGeo_project.png" height="64"/> </p> <p> ===================================== pycsw/plugins/profiles/apiso/apiso.py ===================================== @@ -386,7 +386,15 @@ class APISO(profile.Profile): is_iso_anyway = False xml_blob = util.getqattr(result, self.context.md_core_model['mappings']['pycsw:XML']) - if caps is None and xml_blob is not None and xml_blob.startswith(b'<gmd:MD_Metadata'): + + #xml_blob_decoded = bytes.fromhex(xml_blob[2:]).decode('utf-8') + + if isinstance(xml_blob, bytes): + iso_string = b'<gmd:MD_Metadata>' + else: + iso_string = '<gmd:MD_Metadata>' + + if caps is None and xml_blob is not None and xml_blob.startswith(iso_string): is_iso_anyway = True if (esn == 'full' and (typename == 'gmd:MD_Metadata' or is_iso_anyway)): ===================================== requirements-standalone.txt ===================================== @@ -1 +1 @@ -SQLAlchemy==1.3.8 +SQLAlchemy ===================================== requirements.txt ===================================== @@ -1,7 +1,7 @@ -geolinks==0.2.0 -lxml==4.4.0 -OWSLib==0.18.0 -pyproj==2.2.1 -Shapely==1.6.4.post2 -six==1.12.0 -xmltodict==0.12.0 \ No newline at end of file +geolinks +lxml +OWSLib +pyproj +Shapely +six +xmltodict \ No newline at end of file View it on GitLab: https://salsa.debian.org/debian-gis-team/pycsw/commit/859dc0b4762d694fe65892777a55e3b98f4699d7 -- View it on GitLab: https://salsa.debian.org/debian-gis-team/pycsw/commit/859dc0b4762d694fe65892777a55e3b98f4699d7 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ Pkg-grass-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel
