Fix pycodestyle issue
This commit is contained in:
parent
954663475a
commit
10a29ca9e6
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ def graph_check_cycle(graph):
|
|||
for node in graph:
|
||||
# Cycle path.
|
||||
path = [node]
|
||||
has_cycle = _graph_dfs_cycle( graph, node, path)
|
||||
has_cycle = _graph_dfs_cycle(graph, node, path)
|
||||
if has_cycle:
|
||||
return has_cycle, path
|
||||
return False, None
|
||||
|
|
Loading…
Reference in a new issue