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