From e90ec8b55df0c960ca1f83b33c886e80fa64e3f9 Mon Sep 17 00:00:00 2001 From: Matthew Bell Date: Sat, 27 Aug 2011 16:38:43 -0700 Subject: [PATCH] Fixed an issue with return syntax that breaks in python 2.4 --- autoload/gundo.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/autoload/gundo.py b/autoload/gundo.py index aedc05e..21d66f0 100644 --- a/autoload/gundo.py +++ b/autoload/gundo.py @@ -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)