From 94445fa8c3c32ef86b9a968c3267b02ef6764b7c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 23 Nov 2007 02:37:11 +0000 Subject: Sort hashes for predictable output from Manifest._createManifestEntries(). svn path=/main/trunk/; revision=8615 --- pym/portage/manifest.py | 1 + 1 file changed, 1 insertion(+) (limited to 'pym') 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] -- cgit v1.2.3-1-g7c22