Remove obsolete TODO.

This commit is contained in:
Steve Losh 2010-10-29 09:48:47 -04:00
parent a4798311dc
commit 67c26ded75

View File

@ -475,7 +475,6 @@ def make_nodes():
return nodes, nmap return nodes, nmap
def changenr(nodes): def changenr(nodes):
# TODO: This seems to sometimes be wrong right after you open a file...
_curhead_l = list(itertools.dropwhile(lambda n: not n.curhead, nodes)) _curhead_l = list(itertools.dropwhile(lambda n: not n.curhead, nodes))
if _curhead_l: if _curhead_l:
current = _curhead_l[0].parent.n current = _curhead_l[0].parent.n