summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/depgraph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 3549000cf..9cb6ddf13 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -1576,7 +1576,7 @@ class depgraph(object):
print(colorize("BAD", "\n*** You need to adjust PORTDIR or PORTDIR_OVERLAY to emerge this package.\n"))
return 0, myfavorites
if mykey not in portdb.xmatch(
- "match-visible", portage.dep_getkey(mykey)):
+ "match-visible", portage.cpv_getkey(mykey)):
print(colorize("BAD", "\n*** You are emerging a masked package. It is MUCH better to use"))
print(colorize("BAD", "*** /etc/portage/package.* to accomplish this. See portage(5) man"))
print(colorize("BAD", "*** page for details."))