if not baddepsyntax:
ismasked = not ebuild_archs or \
- pkg.cpv not in portdb.xmatch("list-visible", pkg.cp)
+ pkg.cpv not in portdb.xmatch("match-visible", pkg.cp)
if ismasked:
if not have_pmasked:
have_pmasked = bool(dep_settings._getMaskAtom(
"caching match function; very trick stuff"
if level == "list-visible":
level = "match-visible"
+ warnings.warn("The 'list-visible' mode of "
+ "portage.dbapi.porttree.portdbapi.xmatch "
+ "has been renamed to match-visible",
+ DeprecationWarning, stacklevel=2)
+
#if no updates are being made to the tree, we can consult our xcache...
if self.frozen:
try: