Change default to return handles unsorted on get_object_handles methods

svn: r17537
This commit is contained in:
Michiel Nauta
2011-05-19 20:36:17 +00:00
parent cd0f3a4a36
commit 654fb81665
12 changed files with 25 additions and 24 deletions

View File

@@ -180,7 +180,7 @@ class PackageWriter(object):
# Write media files first, since the database may be modified
# during the process (i.e. when removing object)
for m_id in self.db.get_media_object_handles():
for m_id in self.db.get_media_object_handles(sort_handles=True):
mobject = self.db.get_object_from_handle(m_id)
filename = Utils.media_path_full(self.db, mobject.get_path())
archname = str(mobject.get_path())