Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 1018:651e5c5b1f3d
write some values to carbon/graphite upon polling
Ignore-this: 7f4f05ad994a8c18c61df2da421e0308
darcs-hash:0c36784979aa717161b954a9abddc77aa28434d4
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sun, 03 Jan 2016 02:24:27 -0800 |
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