Skip to content

Commit

Permalink
return None directly
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Oct 16, 2024
1 parent 641964d commit 50f3506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spinn_utilities/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def deepest_parent(parents, child):

# If no match then return None, there is no deepest parent
if match not in parents:
match = None
return None

return match

Expand Down

0 comments on commit 50f3506

Please sign in to comment.