Skip to content

Commit b884916

Browse files
authored
[worker] Fix description for cycle (#2117)
1 parent 41c1db8 commit b884916

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fixworker/fixworker/collect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def __graph_sender(self, graph_queue: Queue[Optional[Graph]], task_id: TaskId, t
140140

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

0 commit comments

Comments
 (0)