Skip to content

Commit

Permalink
conditions: _GSCReposition: fix already-valid warning message crash
Browse files Browse the repository at this point in the history
non-string node values caused a crash on warning
  • Loading branch information
kmantel committed Jun 25, 2024
1 parent d9678bc commit 168fd74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graph_scheduler/condition.py
Original file line number Diff line number Diff line change
Expand Up @@ -3227,7 +3227,7 @@ def _nodes_already_valid(self, graph):
def _validate_graph(self, graph):
super()._validate_graph(graph)

already_valid = self._nodes_already_valid(graph)
already_valid = [repr(n) for n in self._nodes_already_valid(graph)]
try:
already_valid = sorted(already_valid)
except TypeError:
Expand Down

0 comments on commit 168fd74

Please sign in to comment.