From: Zac Medico Date: Sun, 21 May 2006 18:59:11 +0000 (-0000) Subject: Don't include a redundant size field with the other hashes when creating manifest2... X-Git-Tag: v2.1_rc2~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c30be0ab91092adc153372af5809548d6d80bfca;p=portage.git Don't include a redundant size field with the other hashes when creating manifest2 entries. Thanks to solar for reporting. svn path=/main/trunk/; revision=3383 --- diff --git a/pym/portage_manifest.py b/pym/portage_manifest.py index 669ee6067..a59189e3d 100644 --- a/pym/portage_manifest.py +++ b/pym/portage_manifest.py @@ -91,6 +91,7 @@ class Manifest2Entry(ManifestEntry): def __str__(self): myline = " ".join([self.type, self.name, str(self.hashes["size"])]) myhashkeys = self.hashes.keys() + myhashkeys.remove("size") myhashkeys.sort() for h in myhashkeys: myline += " " + h + " " + str(self.hashes[h])