beremiz
Clone
Summary
Browse
Changes
Graph
Fixed xmlclass and plcopen using precompile xpath where possible
2013-09-05, Laurent Bessard
714f1381a09a
Fixed xmlclass and plcopen using precompile xpath where possible
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