Fix another python2/3 incompat: xrange
This commit is contained in:
@@ -146,7 +146,7 @@ AS $$
|
|||||||
rv = plpy.execute(plan, [server_internal], 1)
|
rv = plpy.execute(plan, [server_internal], 1)
|
||||||
port = rv[0]['port']
|
port = rv[0]['port']
|
||||||
|
|
||||||
for i in xrange(n_samples):
|
for i in range(n_samples):
|
||||||
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||||
s.settimeout(timeout_seconds)
|
s.settimeout(timeout_seconds)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user