debian.py: Really implement stable order of fields not in the predefined order

This commit is contained in:
Ben Hutchings 2016-01-08 12:15:30 +00:00
parent 1d2a19e3fe
commit db948006fc
1 changed files with 1 additions and 1 deletions

View File

@ -412,7 +412,7 @@ class _ControlFileDict(dict):
if i in self:
keys.remove(i)
yield i
for i in keys:
for i in sorted(list(keys)):
yield i
def items(self):