Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 1422:975d6c25be7d
release 0.8.0
Ignore-this: 262073caf6f2e17af96e2d4e1d088139
darcs-hash:31156d1e9350f511d68e8d8694b92d23355d9848
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sun, 04 Aug 2019 13:03:18 -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