iter_people method was incorrectly returning handles and people objects; should be just people to match gen.db interface

svn: r15451
This commit is contained in:
Doug Blank 2010-05-23 04:40:58 +00:00
parent 80c94857ed
commit 1e3b765bd4

View File

@ -311,10 +311,10 @@ class FilterProxyDb(ProxyDbBase):
def iter_people(self):
"""
Return an iterator over handles and objects for Persons in the database
Return an iterator over objects for Persons in the database
"""
for handle in self.plist:
yield handle, self.get_person_from_handle(handle)
yield self.get_person_from_handle(handle)
def get_event_handles(self):
"""