Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 595:7fd9fa5d33aa
standardize build. fix /state report
Ignore-this: 5a9bc82de9f0d7398c9290fc2c7ecbf9
author | drewp@bigasterisk.com |
---|---|
date | Sat, 06 Jul 2019 13:56:07 -0700 |
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