Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 256:d2c60552fb13
polling timing and error catching
Ignore-this: 2d78d67d367c3286aec4e990a396eee7
author | drewp@bigasterisk.com |
---|---|
date | Mon, 21 Mar 2016 04:21:35 -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