From 8d750b3228087a3929972ac83257bccaad3ce21b Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 23 Nov 2007 02:37:50 +0000 Subject: Sort hashes for predictable output from Manifest._createManifestEntries(). (trunk r8615) svn path=/main/branches/2.1.2/; revision=8616 --- pym/portage_manifest.py | 1 + 1 file changed, 1 insertion(+) (limited to 'pym/portage_manifest.py') diff --git a/pym/portage_manifest.py b/pym/portage_manifest.py index 502cc06a1..0e103d094 100644 --- a/pym/portage_manifest.py +++ b/pym/portage_manifest.py @@ -318,6 +318,7 @@ class Manifest(object): myentry = Manifest2Entry( type=t, name=f, hashes=self.fhashdict[t][f].copy()) myhashkeys = myentry.hashes.keys() + myhashkeys.sort() for h in myhashkeys: if h not in ["size"] + portage_const.MANIFEST2_HASH_FUNCTIONS: del myentry.hashes[h] -- cgit v1.2.3-1-g7c22