Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 1371:293d328a55d7
match esp hostname in py code
Ignore-this: 57f2db842b5935faad0214bac52f5adc
darcs-hash:345acba508ac57afc87c9e1b0e8e88e34c95bdbc
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sun, 05 May 2019 22:44:35 -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