Skip to content

Commit 6dd345d

Browse files
author
James William Pye
committed
Closed is None prior to connect().
1 parent 81e4eb1 commit 6dd345d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

postgresql/temporal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def pop(self,
206206
if not interrupt:
207207
# Interrupt then close. Just in case something is lingering.
208208
for x in [builtins['db']] + list(extras):
209-
if not x.closed:
209+
if x.closed is False:
210210
x.interrupt()
211211
x.close()
212212
# Interrupted and closed all the other connections.

0 commit comments

Comments
 (0)