diff --git a/fixworker/fixworker/collect.py b/fixworker/fixworker/collect.py index 11b94171f1..5aced57bca 100644 --- a/fixworker/fixworker/collect.py +++ b/fixworker/fixworker/collect.py @@ -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