Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 1124:f088e2a02ce4
requirejs config for streamed-graph to use
Ignore-this: 349045fdaec20b098bc2a7878e92d079
darcs-hash:1a6a254f456d7a7fa0bb1e1d79f1928d2d1f748f
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Mon, 06 Mar 2017 00:06:10 -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