# HG changeset patch # User Matthew Bell # Date 1314488323 25200 # Node ID ea53db23b78075ea091c71056ed54a24c7e94b03 # Parent 9524242bda64063b3bf24c89bb89a27726da882f Fixed an issue with return syntax that breaks in python 2.4 diff -r 9524242bda64 -r ea53db23b780 autoload/gundo.py --- a/autoload/gundo.py Mon Aug 08 17:07:25 2011 -0400 +++ b/autoload/gundo.py Sat Aug 27 16:38:43 2011 -0700 @@ -553,7 +553,10 @@ 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)