Performance speed up
svn: r10882
This commit is contained in:
parent
c35ef6649d
commit
96c1d044f3
@ -315,10 +315,10 @@ class ReferencedProxyDb(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.has_person_handle(handle):
|
||||
if not self.get_person_from_handle(handle):
|
||||
continue
|
||||
elif class_name == 'Family':
|
||||
if not self.has_family_handle(handle):
|
||||
if not self.get_family_from_handle(handle):
|
||||
continue
|
||||
elif class_name == 'Event':
|
||||
if handle in self.unreferenced_events:
|
||||
|
Loading…
Reference in New Issue
Block a user