Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 1242:24c004aac998
stats->state to make room for greplin stats
Ignore-this: cfa2357bdf06ac3324741700ac44db5c
darcs-hash:d4acffea4be6833f5af57660400dd13d2659c32e
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Mon, 15 Apr 2019 00:17:04 -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