Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 177:5305fe90c09b
bang arduino board config update
Ignore-this: 27f7b4313925eae037e5bd977fa2c398
author | drewp@bigasterisk.com |
---|---|
date | Thu, 14 May 2015 01:27:25 -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