Mercurial > code > home > repos > homeauto
diff service/piNode/piNode.py @ 1035:f01d9892ed79
update arduinoNode to support streamed graph output
Ignore-this: fa35d1fae5b0e411b167650550c3e77d
darcs-hash:c22c59acf2d4bbabfc467085f146a5de72b19f03
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Thu, 28 Jan 2016 02:24:32 -0800 |
parents | 9328df09f679 |
children | 4ebb5cc30002 |
line wrap: on
line diff
--- a/service/piNode/piNode.py Thu Jan 28 00:21:31 2016 -0800 +++ b/service/piNode/piNode.py Thu Jan 28 02:24:32 2016 -0800 @@ -106,17 +106,6 @@ def staticStmts(self): return [(HOST[socket.gethostname()], ROOM['connectedTo'], self.uri, self.ctx)] - def currentGraph(self): - g = Graph() - - for s in self.staticStmts(): - g.add(s[:3]) - - for si in self._statementsFromInputs.values(): - for s in si: - g.add(s) - return g - def description(self): """for web page""" return {