summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-05-21 18:59:11 +0000
committerZac Medico <zmedico@gentoo.org>2006-05-21 18:59:11 +0000
commitc30be0ab91092adc153372af5809548d6d80bfca (patch)
tree92e30d33d362dcbbe6ec5924da68b425ecd85455
parentb8b2a3ee61134fd9595b7fe53ed83060eb69796b (diff)
downloadportage-c30be0ab91092adc153372af5809548d6d80bfca.tar.gz
portage-c30be0ab91092adc153372af5809548d6d80bfca.tar.bz2
portage-c30be0ab91092adc153372af5809548d6d80bfca.zip
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
-rw-r--r--pym/portage_manifest.py1
1 files changed, 1 insertions, 0 deletions
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])