Mercurial > code > home > repos > homeauto
diff service/sba/sba.py @ 4:be855a111619
move a bunch of services into this tree, give them all web status pages
Ignore-this: a11e90f9d2cd9470565c743f54943c4b
author | drewp@bigasterisk.com |
---|---|
date | Mon, 08 Aug 2011 00:31:31 -0700 |
parents | 6c2e83a0c85b |
children | dc03f39f46d9 |
line wrap: on
line diff
--- a/service/sba/sba.py Sun Aug 07 21:50:21 2011 -0700 +++ b/service/sba/sba.py Mon Aug 08 00:31:31 2011 -0700 @@ -15,6 +15,9 @@ log.msg(str(self.s.__dict__)) self.sendControl() + def ping(self): + pass # waiting for spec + def sendControl(self): controlBits = [0, 1, 0, 0, 0, @@ -93,6 +96,7 @@ class IndexHandler(cyclone.web.RequestHandler): def get(self): + self.settings.chain.ping() self.set_header("Content-type", "text/html") self.write(open("sba.html").read())