Fixed an issue with return syntax that breaks in python 2.4

This commit is contained in:
Matthew Bell 2011-08-27 16:38:43 -07:00
parent 240efe7415
commit e90ec8b55d

View File

@ -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)