beremiz
Clone
Summary
Browse
Changes
Graph
Remove restriction of function block usage in SFC transitions body
2012-09-11, laurent
c6ed7b933617
Remove restriction of function block usage in SFC transitions body
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