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 |
Message-Id: | 4354B0B3.20602@gmail.com |
1 | http://bugs.gentoo.org/show_bug.cgi?id=100479 |
2 | |
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 |