Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 1393:f012cb2e3e7a
new crib anim
Ignore-this: 7bc4d81fcaad189d52852aa7b6f5d43f
darcs-hash:b3958ade19cbcbee9edc38176fdc2083daaddaa5
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sat, 06 Jul 2019 00:48:56 -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