debian.py: Implement stable order of fields not in the predefined order
This commit is contained in:
parent
6a920e6845
commit
56b9798cd8
|
@ -5,6 +5,7 @@ linux-tools (4.4-1~exp1) UNRELEASED; urgency=medium
|
||||||
[ Ben Hutchings ]
|
[ Ben Hutchings ]
|
||||||
* linux-perf: Fix reading of build-id from vDSO
|
* linux-perf: Fix reading of build-id from vDSO
|
||||||
* linux-perf: Leave -rc suffix out of version in package description
|
* linux-perf: Leave -rc suffix out of version in package description
|
||||||
|
* debian.py: Implement stable order of fields not in the predefined order
|
||||||
|
|
||||||
-- Ben Hutchings <ben@decadent.org.uk> Tue, 19 Jan 2016 00:04:27 +0000
|
-- Ben Hutchings <ben@decadent.org.uk> Tue, 19 Jan 2016 00:04:27 +0000
|
||||||
|
|
||||||
|
|
|
@ -424,7 +424,7 @@ class Package(dict):
|
||||||
if i in self:
|
if i in self:
|
||||||
keys.remove(i)
|
keys.remove(i)
|
||||||
yield i
|
yield i
|
||||||
for i in keys:
|
for i in sorted(list(keys)):
|
||||||
yield i
|
yield i
|
||||||
|
|
||||||
def iteritems(self):
|
def iteritems(self):
|
||||||
|
|
Loading…
Reference in New Issue