Commit e8c36c50 authored by Stephen Thompson's avatar Stephen Thompson

Issue #19 removed unnessary else statements form end of transform manager

parent 8ac0f810
Pipeline #3651 failed with stages
in 5 minutes and 42 seconds
......@@ -238,10 +238,10 @@ class TransformManager:
for candidate in candidates:
if candidate in list_of_nodes:
continue
else:
list_of_nodes.append(candidate)
self.__get_list(candidate, after, list_of_nodes)
if list_of_nodes[-1] == after:
break
else:
list_of_nodes.pop()
list_of_nodes.append(candidate)
self.__get_list(candidate, after, list_of_nodes)
if list_of_nodes[-1] == after:
break
list_of_nodes.pop()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment