# HG changeset patch # User drewp@bigasterisk.com # Date 1375455965 25200 # Node ID 1c1fcb71e10a4534e14e22e0ef2b3a1086c3df85 # Parent 3988aaa5ea8226215eb0c0b45386da4dc3201d8e shuttlepro: some old changes Ignore-this: 980a9ffa0b084bd46db880b4b3621a02 diff -r 3988aaa5ea82 -r 1c1fcb71e10a service/shuttlepro/shuttlepro.py --- a/service/shuttlepro/shuttlepro.py Fri Aug 02 08:04:20 2013 -0700 +++ b/service/shuttlepro/shuttlepro.py Fri Aug 02 08:06:05 2013 -0700 @@ -352,9 +352,16 @@ return event +import restkit +reasoning = restkit.Resource("http://bang:9071/", timeout=1) + +from rdflib import Namespace +SHUTTLEPRO = Namespace("http://projects.bigasterisk.com/room/livingRoom/shuttlepro/") +ROOM = Namespace("http://projects.bigasterisk.com/room/") + if __name__ == '__main__': - import restkit - mpd = restkit.Resource("http://bang:9009/") + import restkit, urllib + mpd = restkit.Resource("http://slash:9009/") def ev(what): print 'ev', what if 'key' in what and what['press']: