Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 1461:517cbb905d4c
remote suspend, wifi group arg
Ignore-this: 76cd196b934298df35125bd180ede9c6
darcs-hash:1893e27489c5537950d377dfde761497f906df6c
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sat, 23 Nov 2019 12:02:32 -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