beremiz
Clone
Summary
Browse
Changes
Graph
Fixing bug in displaying lines of code at the origin of matiec errors
2012-01-08, laurent
5d3da49e8029
Fixing bug in displaying lines of code at the origin of matiec errors
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