Mercurial > code > home > repos > homeauto
view service/arduinoNode/rdflib_patch.py @ 642:0a39cb133ce5
remove pytz and time table
Ignore-this: 313d0397eb8d059a5f91ceb50f6e105a
remove mostly to separateDeviceRunners
author | drewp@bigasterisk.com |
---|---|
date | Sun, 18 Aug 2019 14:39:03 -0700 |
parents | d228105749ac |
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