3527: People View sometimes skips items because of LRU key error

svn: r14103
This commit is contained in:
Doug Blank 2010-01-21 01:55:48 +00:00
parent 97c058af9b
commit fdfb1b48b0

View File

@ -75,6 +75,7 @@ class LRU(object):
lnk.next.prev = None lnk.next.prev = None
self.first = lnk.next self.first = lnk.next
lnk.next = None lnk.next = None
if lnk.value[0] in self.data:
del self.data[lnk.value[0]] del self.data[lnk.value[0]]
del lnk del lnk