gh-115238: Remove a redundant f-string in graphlib (#115239)

This commit is contained in:
Luka 2024-09-01 09:12:53 +04:00 committed by GitHub
parent cf472577e2
commit 917283ada6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class TopologicalSorter:
# nodes as possible before cycles block more progress
cycle = self._find_cycle()
if cycle:
raise CycleError(f"nodes are in a cycle", cycle)
raise CycleError("nodes are in a cycle", cycle)
def get_ready(self):
"""Return a tuple of all the nodes that are ready.