From: Zac Medico Date: Fri, 23 Nov 2007 02:37:50 +0000 (-0000) Subject: Sort hashes for predictable output from Manifest._createManifestEntries(). X-Git-Tag: v2.1.4~234 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8d750b3228087a3929972ac83257bccaad3ce21b;p=portage.git Sort hashes for predictable output from Manifest._createManifestEntries(). (trunk r8615) svn path=/main/branches/2.1.2/; revision=8616 --- 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]