Skip to content

Commit

Permalink
[worker] Fix description for cycle (#2117)
Browse files Browse the repository at this point in the history
  • Loading branch information
aquamatthias authored Jun 18, 2024
1 parent 41c1db8 commit b884916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fixworker/fixworker/collect.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def __graph_sender(self, graph_queue: Queue[Optional[Graph]], task_id: TaskId, t

# Make sure the graph is not cyclic
if (cycle := graph.find_cycle()) is not None:
desc = ", ".join, [f"{key.edge_type}: {key.src.kdname}-->{key.dst.kdname}" for key in cycle]
desc = ", ".join(f"{key.edge_type}: {key.src.kdname}-->{key.dst.kdname}" for key in cycle)
log.error(f"Graph of {graph_info} is not acyclic - ignoring. Cycle {desc}")
continue

Expand Down

0 comments on commit b884916

Please sign in to comment.