Skip to content

Commit a9f3fc5

Browse files
author
zaihuaji
committed
PgSQL.OperationalError
1 parent 077ed77 commit a9f3fc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rda_python_common/PgDBI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def starttran():
280280
else:
281281
try:
282282
pgdb.isolation_level
283-
except OperationalError as e:
283+
except PgSQL.OperationalError as e:
284284
pgconnect(0, 0, False)
285285
if pgdb.closed:
286286
pgconnect(0, 0, False)

0 commit comments

Comments
 (0)