Merge pull request #190 from prculley/bug9569

Fix Bug 9569 Vcard export order is not consistent
This commit is contained in:
Paul Franklin 2016-07-07 18:32:25 +00:00 committed by GitHub
commit ed1fa65569

View File

@ -154,7 +154,7 @@ class VCardWriter:
self.count = 0 self.count = 0
self.oldval = 0 self.oldval = 0
self.total = self.db.get_number_of_people() self.total = self.db.get_number_of_people()
for key in self.db.iter_person_handles(): for key in sorted(list(self.db.iter_person_handles())):
self.write_person(key) self.write_person(key)
self.update() self.update()
return True return True