confnodes/python/modules/svgui/pyjs/jsonrpc/web2py/jsonrpc.py
changeset 721 ecf4d203c4d4
parent 720 6be032177e2a
child 722 a94f361fc42e
--- a/confnodes/python/modules/svgui/pyjs/jsonrpc/web2py/jsonrpc.py	Tue May 08 16:31:12 2012 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-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
-