Skip redundant cpv_exists in _iter_match_pkgs().
authorZac Medico <zmedico@gentoo.org>
Tue, 5 Oct 2010 02:29:45 +0000 (19:29 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 5 Oct 2010 02:29:45 +0000 (19:29 -0700)
pym/_emerge/depgraph.py

index 7981dc56a9908700e0092b03afb5e301ba2f0cdf..3b0fdbec9084000f8b2908526a610b84ee1fa79e 100644 (file)
@@ -2519,8 +2519,6 @@ class depgraph(object):
                        cpv_list.reverse()
                        for cpv in cpv_list:
                                for repo in repo_list:
-                                       if not db.cpv_exists(cpv, myrepo=repo):
-                                               continue
 
                                        try:
                                                pkg = self._pkg(cpv, pkg_type, root_config,