Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 1530:f4e1493e9526
there's a plan
Ignore-this: 994107ade471f5e66c4746996c9e5a11
darcs-hash:dd80cdf9badb6cc9fb22989a34ce555e663f63f0
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Wed, 05 Feb 2020 17:12:18 -0800 |
parents | f707210c13bd |
children |
line wrap: on
line source
def fixQnameOfUriWithTrailingSlash(): import rdflib.namespace old_split = rdflib.namespace.split_uri def new_split(uri): try: return old_split(uri) except Exception: return uri, '' rdflib.namespace.split_uri = new_split