beremiz
Clone
Summary
Browse
Changes
Graph
Allowing unicode characters to be used in comments
2009-10-27, laurent
5981ad8547f5
Allowing unicode characters to be used in comments
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