Bas Couwenberg pushed to branch upstream at Debian GIS Project / owslib
Commits: 22e3b088 by Bas Couwenberg at 2021-05-11T08:27:41+02:00 New upstream version 0.24.1 - - - - - 6 changed files: - CHANGES.rst - VERSION.txt - owslib/__init__.py - owslib/catalogue/csw2.py - owslib/catalogue/csw3.py - owslib/wps.py Changes: ===================================== CHANGES.rst ===================================== @@ -1,6 +1,16 @@ Changes ======= +0.24.1 (2021-05-10) +------------------- + +A full list of commits for 0.24.1 can be found at: + +https://github.com/geopython/OWSLib/commits/0.24.1 + +- fix CSW request byte handling (#776) + + 0.24.0 (2021-05-10) ------------------- ===================================== VERSION.txt ===================================== @@ -1 +1 @@ -0.24.0 +0.24.1 ===================================== owslib/__init__.py ===================================== @@ -1 +1 @@ -__version__ = '0.24.0' +__version__ = '0.24.1' ===================================== owslib/catalogue/csw2.py ===================================== @@ -309,8 +309,7 @@ class CatalogueServiceWeb(object): def getrecords2(self, constraints=[], sortby=None, typenames='csw:Record', esn='summary', outputschema=namespaces['csw'], format=outputformat, startposition=0, maxrecords=10, cql=None, xml=None, resulttype='results', - distributedsearch=False, hopcount=1 - ): + distributedsearch=False, hopcount=1): """ Construct and process a GetRecords request @@ -335,7 +334,7 @@ class CatalogueServiceWeb(object): """ if xml is not None: - if str(xml).startswith('<'): + if xml.startswith(b'<'): self.request = etree.fromstring(xml) val = self.request.find(util.nspath_eval('csw:Query/csw:ElementSetName', namespaces)) if val is not None: ===================================== owslib/catalogue/csw3.py ===================================== @@ -222,7 +222,7 @@ class CatalogueServiceWeb(object): """ if xml is not None: - if str(xml).startswith('<'): + if xml.startswith(b'<'): self.request = etree.fromstring(xml) val = self.request.find(util.nspath_eval('csw30:Query/csw30:ElementSetName', namespaces)) if val is not None: ===================================== owslib/wps.py ===================================== @@ -848,7 +848,7 @@ class WPSExecution(object): retained for backwards-compatibility. """ return self.isSucceeded() - + def isSucceeded(self): """ Returns a boolean regarding the success status of the process. View it on GitLab: https://salsa.debian.org/debian-gis-team/owslib/-/commit/22e3b08898ea9ed8eb6a4bf65bdd0688101b014d -- View it on GitLab: https://salsa.debian.org/debian-gis-team/owslib/-/commit/22e3b08898ea9ed8eb6a4bf65bdd0688101b014d 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
