Skip to content

Commit

Permalink
Use Logger.warning() instead of deprecated Logger.warn(). #341
Browse files Browse the repository at this point in the history
  • Loading branch information
lemon24 committed Jul 22, 2024
1 parent 42a8e9f commit ce56e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reader/_storage/_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def _insert_into_search_one_chunk(self, changes: list[Change]) -> None:
(change.sequence, *change.resource_id),
)
if cursor.rowcount: # pragma: no cover
log.warn(
log.warning(
"during insert, found and deleted %d rows for %r",
cursor.rowcount,
change,
Expand Down

0 comments on commit ce56e3e

Please sign in to comment.