Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 1079:3d0133cdce90
smooth output fading support
Ignore-this: 69d396a6c2ea8f693e270525e29d5b5d
darcs-hash:2410a3cfe14d8c1d2e9103540cfaa429c55ca490
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Thu, 14 Apr 2016 01:52:09 -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