summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-04-06 23:33:43 +0000
committerZac Medico <zmedico@gentoo.org>2008-04-06 23:33:43 +0000
commit78cddb0159e25305d316cde0f882b3e12aa7d055 (patch)
tree6bfc03aad4dc8f1b9d64c75446aa070d6df79d55
parent4a2c216b763869800d9674895fc8e975476f6bca (diff)
downloadportage-78cddb0159e25305d316cde0f882b3e12aa7d055.tar.gz
portage-78cddb0159e25305d316cde0f882b3e12aa7d055.tar.bz2
portage-78cddb0159e25305d316cde0f882b3e12aa7d055.zip
Fix variable name collision in DepcheckCompositeDB.match().
svn path=/main/trunk/; revision=9736
-rw-r--r--pym/_emerge/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index a59acd51d..fd1304b6a 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -1446,8 +1446,8 @@ class DepcheckCompositeDB(object):
arg_atoms = list(self._depgraph._iter_atoms_for_pkg(pkg))
except portage.exception.InvalidDependString:
arg_atoms = []
- for arg, atom in arg_atoms:
- arg_cp = portage.dep_getkey(atom)
+ for arg, arg_atom in arg_atoms:
+ arg_cp = portage.dep_getkey(arg_atom)
if arg and arg_cp != pkg.cp:
# If this argument matches via PROVIDE but there is a
# new-style virtual available, then the argument does