Replace get_family_handles with iter_family_handles
svn: r12776
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user