Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 1407:6c86c6a87eab
update standardservice. add --dns to all docker runs
Ignore-this: 7439dab992e614fa8fa562f4f750e57b
darcs-hash:f765086ee3524d876864142fc6c37d971ec970ac
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Tue, 23 Jul 2019 10:29:31 -0700 |
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