2d608ce7ab0e
Moar.
| author | Steve Losh <steve@stevelosh.com> | 
|---|---|
| date | Thu, 07 Oct 2010 21:50:50 -0400 | 
| parents | 5c12eeee395f | 
| children | 39ffb4522c37 | 
| branches/tags | (none) | 
| files | plugin/gundo.vim | 
Changes
--- a/plugin/gundo.vim Thu Oct 07 21:41:14 2010 -0400 +++ b/plugin/gundo.vim Thu Oct 07 21:50:50 2010 -0400 @@ -326,7 +326,7 @@ 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