summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-05-22 09:05:46 +0000
committerZac Medico <zmedico@gentoo.org>2006-05-22 09:05:46 +0000
commitb7e72aef9fe5f60a10c0eea89794d9b30d677feb (patch)
tree72501761a981e2d726e52ad076cf199c960d0f7b
parent6a8a98869bea4a992f28c3536dfbaa379adf0f29 (diff)
downloadportage-b7e72aef9fe5f60a10c0eea89794d9b30d677feb.tar.gz
portage-b7e72aef9fe5f60a10c0eea89794d9b30d677feb.tar.bz2
portage-b7e72aef9fe5f60a10c0eea89794d9b30d677feb.zip
Fix a bug that causes hashes of random types (mostly SHA1, from my experience) to be erroneously discarded due to dictionary assignment instead up update.
svn path=/main/trunk/; revision=3390
-rw-r--r--pym/portage_manifest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage_manifest.py b/pym/portage_manifest.py
index a59189e3d..e484d9e37 100644
--- a/pym/portage_manifest.py
+++ b/pym/portage_manifest.py
@@ -262,7 +262,7 @@ class Manifest(object):
if myname in self.fhashdict[mytype]:
myhashdict.setdefault(mytype, {})
myhashdict[mytype].setdefault(myname, {})
- myhashdict[mytype][myname] = self.fhashdict[mytype][myname]
+ myhashdict[mytype][myname].update(self.fhashdict[mytype][myname])
return myhashdict
def _createDigestLines1(self, distlist, myhashdict):