diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-11-23 02:37:11 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-11-23 02:37:11 +0000 |
commit | 94445fa8c3c32ef86b9a968c3267b02ef6764b7c (patch) | |
tree | 81e9f40fda3217be3633707e1f00f7204e2409ee | |
parent | 74f0cef5898a8cf3278dee2c30909a84a6ee3c48 (diff) | |
download | portage-94445fa8c3c32ef86b9a968c3267b02ef6764b7c.tar.gz portage-94445fa8c3c32ef86b9a968c3267b02ef6764b7c.tar.bz2 portage-94445fa8c3c32ef86b9a968c3267b02ef6764b7c.zip |
Sort hashes for predictable output from Manifest._createManifestEntries().
svn path=/main/trunk/; revision=8615
-rw-r--r-- | pym/portage/manifest.py | 1 |
1 files changed, 1 insertions, 0 deletions
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] |