Fix variable name collision in DepcheckCompositeDB.match().
authorZac Medico <zmedico@gentoo.org>
Sun, 6 Apr 2008 23:33:43 +0000 (23:33 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 6 Apr 2008 23:33:43 +0000 (23:33 -0000)
svn path=/main/trunk/; revision=9736

pym/_emerge/__init__.py

index a59acd51d536fcdb6197b9b31d3990ec97c34cc9..fd1304b6a8c599af5e25d6b15717beef59ad6e02 100644 (file)
@@ -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