Fixed an issue with return syntax that breaks in python 2.4
This commit is contained in:
parent
240efe7415
commit
e90ec8b55d
@ -553,7 +553,10 @@ def GundoPlayTo():
|
||||
return None
|
||||
nodes.append(current)
|
||||
|
||||
return reversed(nodes) if rev else nodes
|
||||
if rev:
|
||||
return reversed(nodes)
|
||||
else:
|
||||
return nodes
|
||||
|
||||
branch = _walk_branch(start, end)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user