From 0940724581b04b97605c7961b8a52fcb01a50d02 Mon Sep 17 00:00:00 2001 From: Steve Losh Date: Thu, 7 Oct 2010 21:50:50 -0400 Subject: [PATCH] Moar. --- plugin/gundo.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/gundo.vim b/plugin/gundo.vim index 86d303c..2646516 100644 --- a/plugin/gundo.vim +++ b/plugin/gundo.vim @@ -326,7 +326,7 @@ def ascii(buf, state, type, char, text, coldata): def generate(dag, edgefn): seen, state = [], [0, 0] buf = Buffer() - for node, parents in dag: + for node, parents in list(dag)[:-1]: char = '@' if node.n == int(current) else 'o' ascii(buf, state, 'C', char, ['[%s]' % str(node.n)], edgefn(seen, node, parents)) return buf.b