9450: LivingProxyDB leaves data in when back references followed
This commit is contained in:
parent
93803fb519
commit
ef0b2b8aea
@ -336,9 +336,12 @@ class LivingProxyDb(ProxyDbBase):
|
||||
"""
|
||||
handle_itr = self.db.find_backlink_handles(handle, include_classes)
|
||||
for (class_name, handle) in handle_itr:
|
||||
if class_name == 'Person':
|
||||
if not self.get_person_from_handle(handle):
|
||||
continue
|
||||
if class_name == "Person" and self.mode != self.MODE_INCLUDE_ALL:
|
||||
## Don't get backlinks to living people at all
|
||||
person = self.db.get_person_from_handle(handle)
|
||||
if person and not self.__is_living(person):
|
||||
yield (class_name, handle)
|
||||
else:
|
||||
yield (class_name, handle)
|
||||
return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user