From 2b0573d5a95c7f5c490bb462e42c41cb9b539291 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 2 Mar 2010 20:38:46 +0000 Subject: [PATCH] Fix deprecated usage of dep_getkey. (trunk r15396) svn path=/main/branches/2.1.7/; revision=15618 --- pym/_emerge/depgraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 70089c6d8..fc44b357f 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.")) -- 2.26.2