Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 1458:be5fc8791c4d
dep on influxdb
Ignore-this: a89f9f27d849d29e6b11234d6556c0b1
darcs-hash:797ee4baafebe0a5bd13d29d715c5869a091afdb
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Wed, 25 Sep 2019 17:56:15 -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