beremiz

Fixed bug with debugging global variables

2013-05-09, Laurent Bessard
cd4a996ddaa7
Fixed bug with debugging global variables
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