Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 1384:a29a55f3429c
mqtt_graph_bridge to new build rules and to py3
Ignore-this: 1a064e89a2016ed583c1d4c9bbfd6f7c
darcs-hash:b40c5fcff313002f6468e7a94a2059f1dd5dd97c
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Thu, 09 May 2019 22:31:04 -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