diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-11-23 02:37:50 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-11-23 02:37:50 +0000 |
commit | 8d750b3228087a3929972ac83257bccaad3ce21b (patch) | |
tree | bf3452957dbebef18fcb08c1db3820b0c8c6fe2f /pym/portage_manifest.py | |
parent | 5b96f1094a69d215e56e559cc30f3b3a8d53703d (diff) | |
download | portage-8d750b3228087a3929972ac83257bccaad3ce21b.tar.gz portage-8d750b3228087a3929972ac83257bccaad3ce21b.tar.bz2 portage-8d750b3228087a3929972ac83257bccaad3ce21b.zip |
Sort hashes for predictable output from Manifest._createManifestEntries().
(trunk r8615)
svn path=/main/branches/2.1.2/; revision=8616
Diffstat (limited to 'pym/portage_manifest.py')
-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 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] |