Mercurial > code > home > repos > homeauto
comparison service/arduinoNode/rdflib_patch.py @ 974:f707210c13bd
new /output to post statements which devices can handle. led and lcd output working
Ignore-this: afa16b081869a52380b04271a35c53c7
darcs-hash:20150412104414-312f9-f0e67d9f939025fd0a67e78463e6902ddcf0e6d9
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sun, 12 Apr 2015 03:44:14 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
973:d7e8227fefc5 | 974:f707210c13bd |
---|---|
1 | |
2 def fixQnameOfUriWithTrailingSlash(): | |
3 import rdflib.namespace | |
4 old_split = rdflib.namespace.split_uri | |
5 def new_split(uri): | |
6 try: | |
7 return old_split(uri) | |
8 except Exception: | |
9 return uri, '' | |
10 rdflib.namespace.split_uri = new_split |