#13 A Bug Fix on _IndexFile.keys()

open
nobody
None
5
2006-10-28
2006-10-28
Anonymous
No

Output misses the first key since rewind function skips
the first index line as well.

Add the following lines at the end of rewind():

key = line.split(' ', 1)[0]
return key.replace('_', ' ')

inside keys():

else part becomes:
keys = []
keys.append(self.rewind())

Done.

Ergun

Discussion