From 8074927191cbf27153a4ced5d0fa37e22331662c Mon Sep 17 00:00:00 2001 From: ilvalle Date: Sun, 29 May 2016 08:06:09 +0200 Subject: [PATCH] running lib2to3.fixes.fix_renames --- gluon/contrib/simplejsonrpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gluon/contrib/simplejsonrpc.py b/gluon/contrib/simplejsonrpc.py index 6efe155b..d4bea7fd 100644 --- a/gluon/contrib/simplejsonrpc.py +++ b/gluon/contrib/simplejsonrpc.py @@ -105,7 +105,7 @@ class ServerProxy(object): "JSON RPC communication (method invocation)" # build data sent to the service - request_id = random.randint(0, sys.maxint) + request_id = random.randint(0, sys.maxsize) data = {'id': request_id, 'method': method, 'params': args, } if self.version: data['jsonrpc'] = self.version #mandatory key/value for jsonrpc2 validation else err -32600