Don't include a redundant size field with the other hashes when creating manifest2...
authorZac Medico <zmedico@gentoo.org>
Sun, 21 May 2006 18:59:11 +0000 (18:59 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 21 May 2006 18:59:11 +0000 (18:59 -0000)
svn path=/main/trunk/; revision=3383

pym/portage_manifest.py

index 669ee60671e6bd7d7617edb1d1899d9af28a49ae..a59189e3d0a65e6190f302d2d9e5cd2837ae055d 100644 (file)
@@ -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])