Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 1433:be9b456717bd
round numbers. py3 updates. ws
Ignore-this: d1191987ce8070c9700a26b89436478a
darcs-hash:284883b8403f0563572a154cca19d5e96a5e5654
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sun, 11 Aug 2019 03:25:20 -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