Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 1024:fcd5ef7439ad
restart_all
Ignore-this: 90de4d37694b06f1927a09946435f76
darcs-hash:fb132d4e981299f2cf6c2619f3047871ff5a2283
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sun, 03 Jan 2016 02:32:33 -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