Skip to content
Snippets Groups Projects
Commit 91c49621b2b8 authored by Pierre-Yves David's avatar Pierre-Yves David
Browse files

_revancestors: use 'next' to remove the verbose try except clauses

The 'next()' built-in can return a default value, making the final iteration
case simpler and clearer.
parent 24140873ca4c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment