Skip to content

Commit

Permalink
Update task.py: remove unnecessary for loop
Browse files Browse the repository at this point in the history
It was missed during code review of #223
  • Loading branch information
psrok1 authored Sep 1, 2023
1 parent 5e5c306 commit 470e8e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion karton/core/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def matches_filters(self, filters: List[Dict[str, Any]]) -> bool:

# set the flag if all consumer filter fields match the task header.
# It will be set to True only if at least one filter matches the header
matches |= all(m for m in matched)
matches |= all(matched)

return matches

Expand Down

0 comments on commit 470e8e7

Please sign in to comment.