From: Zac Medico Date: Fri, 23 Nov 2007 02:37:11 +0000 (-0000) Subject: Sort hashes for predictable output from Manifest._createManifestEntries(). X-Git-Tag: v2.2_pre1~342 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=94445fa8c3c32ef86b9a968c3267b02ef6764b7c;p=portage.git Sort hashes for predictable output from Manifest._createManifestEntries(). svn path=/main/trunk/; revision=8615 --- diff --git a/pym/portage/manifest.py b/pym/portage/manifest.py index 82ca37efb..7f7be0fdd 100644 --- a/pym/portage/manifest.py +++ b/pym/portage/manifest.py @@ -316,6 +316,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]