Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 1404:025c91f8baa4
frontwindow display config, move keys out
Ignore-this: 1d725d6548558e8cbcba30768c604c9f
darcs-hash:0e084d33fda38aa2689131cb5c746bbc202b05af
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Tue, 23 Jul 2019 10:25:56 -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