Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 676:4bd77a9548d6
now roughly works. shows updates. only some workarounds.
Ignore-this: e591abe547e508c0e56102c124cf940b
author | drewp@bigasterisk.com |
---|---|
date | Sun, 05 Jan 2020 23:52:26 -0800 |
parents | d228105749ac |
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