Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 1415:a02b1b08f24f
clean up very old reasoning configs
Ignore-this: 29c9a3145a640c8a71d4add8ee219fae
darcs-hash:64a8a52854f34fc3ae932b796552795df31be1bb
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Wed, 24 Jul 2019 01:12:29 -0700 |
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