Menu

#1 typo

open-fixed
nobody
None
5
2004-05-11
2003-10-02
Anonymous
No

in hits.py

def getMoreDocs(self, min):
"""Tries to add new documents to hitDocs.
Ensures that the hit numbered B{min} has
been retrieved.
"""

if len(self.hitDocs) > min:
min - len(self.hitDocs)
should be

if len(self.hitDocs) > min:
min = len(self.hitDocs)

Discussion

  • Allen Short

    Allen Short - 2004-05-11
    • status: open --> open-fixed
     
  • Nobody/Anonymous

    Logged In: NO

    this typo is not present any more in the latest release,

    so this bug should be closed.

     

Log in to post a comment.