beremiz
Clone
Summary
Browse
Changes
Graph
clean-up: fix PEP8 E303 too many blank lines
2017-08-15, Andrey Skvortsov
dd94b9a68c61
clean-up: fix PEP8 E303 too many blank lines
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