Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 977:03cfee8f9154
obey ActiveLowOutput correctly
Ignore-this: d8423b272f210a6fbbd9b35772bf7065
darcs-hash:20150417080352-312f9-b06c230dd59ff36706d8c76a75ef4f29430f9d5f
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Fri, 17 Apr 2015 01:03:52 -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