beremiz
Clone
Summary
Browse
Changes
Graph
Fixing bug in PLCGenerator with user defined functions and standard overloaded function
2012-10-16, Laurent Bessard
c10f2092c43a
Fixing bug in PLCGenerator with user defined functions and standard overloaded function
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