Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 1134:39c8ddd79cf2
allow bigger eventsource messages
Ignore-this: 97608d5f5b1059c9b92856ec5551f41c
darcs-hash:7d656493078fe41e0add0f1e33824f78c278c35a
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sat, 03 Feb 2018 14:39:10 -0800 |
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