Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 1452:1dd4da407c0b
build and release config
Ignore-this: a1a0231a2811ac29f906ca72d85a8c34
darcs-hash:879bbda36c705de169b0b746f5c4de467b48d142
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Wed, 25 Sep 2019 17:28:38 -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