Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 1164:1fe67fedf5ac
move speech_music into docker and into pygame
Ignore-this: 15260aecbf7fddb75e641b7a853b0281
darcs-hash:de903a34368d5a71f8b0712de3885e2d91c4df5d
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sun, 09 Sep 2018 04:00: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