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: |     for node in graph: | ||||||
|         # Cycle path. |         # Cycle path. | ||||||
|         path = [node] |         path = [node] | ||||||
|         has_cycle = _graph_dfs_cycle( graph, node, path) |         has_cycle = _graph_dfs_cycle(graph, node, path) | ||||||
|         if has_cycle: |         if has_cycle: | ||||||
|             return has_cycle, path |             return has_cycle, path | ||||||
|     return False, None |     return False, None | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue