Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 383:8f5a16a55f64
various docker setups and build fixes
Ignore-this: adb559337fa1bd058818d1fc99d80ac1
author | drewp@bigasterisk.com |
---|---|
date | Fri, 28 Dec 2018 02:13:15 -0800 |
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