Remove get_child_handle_list call
svn: r6402
This commit is contained in:
parent
280606f458
commit
7b76ddc625
@ -1,4 +1,5 @@
|
|||||||
2006-04-21 Don Allingham <don@gramps-project.org>
|
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/_EditSource.py: remove warnbox
|
||||||
* src/Editors/_EditMedia.py: remove warnbox
|
* src/Editors/_EditMedia.py: remove warnbox
|
||||||
* src/PluginUtils/_PluginStatus.py: add viewing of exceptions
|
* src/PluginUtils/_PluginStatus.py: add viewing of exceptions
|
||||||
|
@ -39,7 +39,8 @@ def remove_family_relationships(db, family_handle, trans=None):
|
|||||||
person.remove_family_handle(family_handle)
|
person.remove_family_handle(family_handle)
|
||||||
db.commit_person(person, trans)
|
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 = db.get_person_from_handle(phandle)
|
||||||
person.remove_parent_family_handle(family_handle)
|
person.remove_parent_family_handle(family_handle)
|
||||||
db.commit_person(person, trans)
|
db.commit_person(person, trans)
|
||||||
|
Loading…
Reference in New Issue
Block a user