Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@×××××.com>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] PATCH: KeyError in dblink.unmerge (bug 100479)
Date: Tue, 18 Oct 2005 08:32:31
3 The problem here is that we are iterating through pkgfiles.keys() and inside the iteration loop we modify the obj variable so subsequent calls to pkgfiles[obj] may fail. The obvious solution is to use a separate variable for the pkgfiles key. My patch introduces a new variable called objkey and replaces all pkgfiles[obj] calls with pkgfiles[objkey].


File name MIME type
dblink.unmerge-pkgfiles-key.patch text/x-patch