Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 1486:f7f2def6658b
hall cam
Ignore-this: 5207340dd631394149022a10cef3fbae
darcs-hash:1952f7f3ba367c66c053bb049be7f8b148ffab11
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Thu, 16 Jan 2020 13:23:47 -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