beremiz
Clone
Summary
Browse
Changes
Graph
Fix bug debug slow interface when refresh time of a DebugViewer is longer than debug refresh period
2013-01-16, Laurent Bessard
73f6333d50a4
Fix bug debug slow interface when refresh time of a DebugViewer is longer than debug refresh period
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