Skip to content

Commit 7efa162

Browse files
authored
Upgrade dependencies (#1140)
1 parent 8b00a85 commit 7efa162

File tree

2 files changed

+184
-184
lines changed

2 files changed

+184
-184
lines changed

src/django_mysql/apps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def install_rewrite_hook(connection: BaseDatabaseWrapper, **kwargs: Any) -> None
5757
here and not exit it, unless we store it forever in some variable.
5858
2. We want to be idempotent and only install the hook once.
5959
"""
60-
if connection.vendor != "mysql":
60+
if connection.vendor != "mysql": # pragma: no cover
6161
return
6262
if rewrite_hook not in connection.execute_wrappers: # pragma: no branch
6363
connection.execute_wrappers.insert(0, rewrite_hook)

0 commit comments

Comments
 (0)