mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-01-31 17:34:08 +03:00
Remove unused variable
The variable i is immediately overwritten by the next line.
This commit is contained in:
parent
03bb44dd2c
commit
afbbdd18b6
|
@ -282,7 +282,6 @@ class ConnectionTests(ConnectingTestCase):
|
||||||
cur = conn.cursor()
|
cur = conn.cursor()
|
||||||
t1 = threading.Thread(target=committer)
|
t1 = threading.Thread(target=committer)
|
||||||
t1.start()
|
t1.start()
|
||||||
i = 1
|
|
||||||
for i in range(1000):
|
for i in range(1000):
|
||||||
cur.execute("select %s;", (i,))
|
cur.execute("select %s;", (i,))
|
||||||
conn.commit()
|
conn.commit()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user