Skip to content

Commit

Permalink
fixes due to changes in driver
Browse files Browse the repository at this point in the history
  • Loading branch information
daimor committed Apr 16, 2023
1 parent 89a91c6 commit 1c005ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements-iris.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://github.com/intersystems-community/intersystems-irispython/releases/download/3.4.3/intersystems_iris-3.4.3-py3-none-any.whl
https://github.com/intersystems-community/intersystems-irispython/releases/download/3.6.0/intersystems_iris-3.6.0-py3-none-any.whl
2 changes: 1 addition & 1 deletion sqlalchemy_iris/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ def _set_option(self, connection, option, value):
def get_isolation_level(self, connection):
try:
level = int(self._get_option(connection, "IsolationMode"))
except dbapi.InterfaceError:
except dbapi.DatabaseError:
# caught access violation error
# by default it's 0
level = 0
Expand Down

0 comments on commit 1c005ba

Please sign in to comment.