Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 190:ad20e5cb4feb
serve ipv6 and use localhost's ipv6 name for getting updates
Ignore-this: f44a03e61aa84e5db046ecacd7ec0dd6
author | drewp@bigasterisk.com |
---|---|
date | Sun, 30 Aug 2015 01:17:08 -0700 |
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