aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2016-01-08 12:15:30 +0000
committerBen Hutchings <ben@decadent.org.uk>2016-01-08 12:15:30 +0000
commitdb948006fca5a62262ab6c1da56481b939df3c64 (patch)
treee12ec7a21aed0d686be6a2e5105725721d7ec034
parent1d2a19e3febb472033dac1d622d65e12a04384e2 (diff)
downloadkernel_replicant_linux-db948006fca5a62262ab6c1da56481b939df3c64.tar.gz
kernel_replicant_linux-db948006fca5a62262ab6c1da56481b939df3c64.tar.bz2
kernel_replicant_linux-db948006fca5a62262ab6c1da56481b939df3c64.zip
debian.py: Really implement stable order of fields not in the predefined order
-rw-r--r--debian/lib/python/debian_linux/debian.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/lib/python/debian_linux/debian.py b/debian/lib/python/debian_linux/debian.py
index a9bc1d87ae9e..445547bbfae2 100644
--- a/debian/lib/python/debian_linux/debian.py
+++ b/debian/lib/python/debian_linux/debian.py
@@ -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):