beremiz
Clone
Summary
Browse
Changes
Graph
Changed runtime's global PLCID to PLC_ID, working around redefinition in windoze' headers.
2015-06-19, Edouard Tisserant
de311ffe3961
Changed runtime's global PLCID to PLC_ID, working around redefinition in windoze' headers.
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