beremiz
Clone
Summary
Browse
Changes
Graph
Adding support for defining specific global variables for ConfTreeNodes
2012-11-15, Laurent Bessard
235a9ec83b95
Adding support for defining specific global variables for ConfTreeNodes
Fix bug when defining function block instances as global variables
from pyjs.jsonrpc import JSONRPCServiceBase
class JSONRPCService(JSONRPCServiceBase):
def serve(self):
return self.process(request.body.read())
def __call__(self,func):
self.methods[func.__name__]=func
return func