Skip to content

Commit

Permalink
- Bug fix: fetch_failures_0_members(): TypeError
Browse files Browse the repository at this point in the history
  • Loading branch information
joeflack4 committed Apr 26, 2024
1 parent f4739c7 commit 654f5ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/db/resolve_fetch_failures_0_members.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def get_failures_0_members(
int(x['primary_key']) for x in failures if x['status_initially'] == 'fail-0-members'])

# Validate & filter
non_failures_passed: Set[int] = set(version_id).difference(failure_lookup.keys())
non_failures_passed: Set[int] = set(version_id).difference(failure_lookup.keys()) if version_id else {}
if bool(version_id and non_failures_passed):
print("Warning: Cset IDs were passed to be resolved, but these are no longer failures; skipping them: "
f"{', '.join([str(x) for x in non_failures_passed])}", file=sys.stderr)
Expand Down

0 comments on commit 654f5ba

Please sign in to comment.