3580: People list (private handlers) and display Name format

in reality: associations are not removed on delete person


svn: r14384
This commit is contained in:
Benny Malengier 2010-02-15 12:13:43 +00:00
parent c0f37e1a42
commit c76159ab9d

View File

@ -1504,11 +1504,11 @@ class DbWriteBase(object):
person_list = [
item[1] for item in
self.find_backlink_handles(handle,['Person'])]
for phandle in person_list:
p = self.get_person_from_handle(phandle)
p.remove_handle_references('Person', handle)
self.commit_person(person, trans)
p.remove_handle_references('Person', [handle])
self.commit_person(p, trans)
self.remove_person(handle, trans)
def remove_family_relationships(self, family_handle, trans=None):