Fix xmatch "match-all" typo.
authorZac Medico <zmedico@gentoo.org>
Fri, 21 Dec 2007 02:47:09 +0000 (02:47 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 21 Dec 2007 02:47:09 +0000 (02:47 -0000)
svn path=/main/trunk/; revision=9020

pym/portage/__init__.py

index 8587ba3dd5850f151c276cde4761b6ef40d01deb..28e98d6d35b6dd51423aa8bf0199ec4649eb1b76 100644 (file)
@@ -5237,7 +5237,7 @@ def dep_zapdeps(unreduced, reduced, myroot, use_binaries=0, trees=None):
                        elif not avail_pkg:
                                has_mask = False
                                if hasattr(mydbapi, "xmatch"):
-                                       has_mask = bool(mydbapi.xmatch("bestmatch-all", atom))
+                                       has_mask = bool(mydbapi.xmatch("match-all", atom))
                                if (use_binaries or not has_mask):
                                        avail_pkg = best(vardb.match(atom))
                                        if avail_pkg: