Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 1409:e78b8806ad05
actually set put payload this time. add treq dep
Ignore-this: b6a05c294d9a5ee6052972cad4ecb5c5
darcs-hash:d41a16eb44db885ff391ddbe64352245b885a838
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Tue, 23 Jul 2019 17:37:24 -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