beremiz
Clone
Summary
Browse
Changes
Graph
fix pylint warning '(global-variable-not-assigned) Using global for 'X' but no assignment is done'
2017-10-02, Andrey Skvortsov
9fd29e8b1393
fix pylint warning '(global-variable-not-assigned) Using global for 'X' but no assignment is done'
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