running lib2to3.fixes.fix_renames

This commit is contained in:
ilvalle
2016-05-29 08:31:19 +02:00
parent 35900da19b
commit 8074927191
+1 -1
View File
@@ -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