Remove get_child_handle_list call

svn: r6402
This commit is contained in:
Don Allingham 2006-04-21 20:39:30 +00:00
parent a78ca88de8
commit 0c45b01fb6
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,5 @@
2006-04-21 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_DbUtils.py: fix old call to get_child_handle_list
* src/Editors/_EditSource.py: remove warnbox
* src/Editors/_EditMedia.py: remove warnbox
* src/PluginUtils/_PluginStatus.py: add viewing of exceptions

View File

@ -39,7 +39,8 @@ def remove_family_relationships(db, family_handle, trans=None):
person.remove_family_handle(family_handle)
db.commit_person(person, trans)
for phandle in family.get_child_handle_list():
for ref in family.get_child_ref_list():
phandle = ref.ref
person = db.get_person_from_handle(phandle)
person.remove_parent_family_handle(family_handle)
db.commit_person(person, trans)