beremiz
Clone
Summary
Browse
Changes
Graph
refactoring - library support is not anymore attached to configtree nodes, but handles by project controller
2012-05-12, Edouard Tisserant
e0424e96e3fd
refactoring - library support is not anymore attached to configtree nodes, but handles by project controller
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