_add_pkg_dep_string: fix virt_dep satisfied check
authorZac Medico <zmedico@gentoo.org>
Thu, 26 May 2011 21:37:04 +0000 (14:37 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 26 May 2011 21:37:04 +0000 (14:37 -0700)
This is a mistake made when merging commit
6e6b9c5928e175af42615542866fc9b3aef694e6 to create commit
75b0a8aed8e56f02c0b455b4ee31fdc7e2b464cf.

pym/_emerge/depgraph.py

index dcebafe250f6f59cc3741e334e8c390b84d9266e..7affe3bf90bee620be90f7c4612debde25d5fd1c 100644 (file)
@@ -1341,7 +1341,7 @@ class depgraph(object):
                                        (virt_pkg.cpv, [str(x) for x in atoms]),
                                        noiselevel=-1, level=logging.DEBUG)
 
-                       inst_pkgs = vardb.match_pkgs(atom)
+                       inst_pkgs = vardb.match_pkgs(virt_dep.atom)
                        if inst_pkgs:
                                for inst_pkg in inst_pkgs:
                                        if self._pkg_visibility_check(inst_pkg):