living proxy did not exclude living people with iter_people()
svn: r23084
This commit is contained in:
parent
b6f7ab9ed0
commit
621615bbd1
@ -116,10 +116,11 @@ class LivingProxyDb(ProxyDbBase):
|
|||||||
Protected version of iter_people
|
Protected version of iter_people
|
||||||
"""
|
"""
|
||||||
for person in filter(None, self.db.iter_people()):
|
for person in filter(None, self.db.iter_people()):
|
||||||
if not(self.__is_living(person) and
|
if self.__is_living(person):
|
||||||
self.mode == self.MODE_EXCLUDE_ALL):
|
if self.mode == self.MODE_EXCLUDE_ALL:
|
||||||
|
continue
|
||||||
yield self.__restrict_person(person)
|
else:
|
||||||
|
yield self.__restrict_person(person)
|
||||||
else:
|
else:
|
||||||
yield person
|
yield person
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user