Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 26, 2021
1 parent 13f1e80 commit ccac70d
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions model_subscription/utils.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
def can_return_rows_from_bulk_insert(connection):
return (
getattr(
return getattr(
connection.features,
"can_return_ids_from_bulk_insert",
getattr(
connection.features,
"can_return_rows_from_bulk_insert",
False,
connection.features,
"can_return_rows_from_bulk_insert",
False,
),
)
)

0 comments on commit ccac70d

Please sign in to comment.