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 Nov 25, 2024
1 parent b293175 commit 37839d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dvc_task/app/filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def _delete_expired(
headers = cast(Dict[str, Any], msg.headers)
expires: Optional[float] = headers.get("expires")
ticket = msg.headers.get("ticket")
if include_tickets and ticket or (expires is not None and expires <= now):
if (include_tickets and ticket) or (expires is not None and expires <= now):
assert msg.delivery_tag
try:
self._delete_msg(msg.delivery_tag, [], cache)
Expand Down

0 comments on commit 37839d8

Please sign in to comment.