mirror of
				https://github.com/psycopg/psycopg2.git
				synced 2025-11-04 01:37:31 +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