Replace get_family_handles with iter_family_handles

svn: r12776
This commit is contained in:
Gerald Britton
2009-07-08 16:11:20 +00:00
parent f680992d04
commit b601f4bdf2
21 changed files with 53 additions and 29 deletions

View File

@@ -114,7 +114,7 @@ class PackageWriter(object):
#--------------------------------------------------------------
def remove_clicked():
# File is lost => remove all references and the object itself
for p_id in self.db.get_family_handles():
for p_id in self.db.iter_family_handles():
p = self.db.get_family_from_handle(p_id)
nl = p.get_media_list()
for o in nl: