From: Zac Medico Date: Tue, 2 Mar 2010 20:38:46 +0000 (-0000) Subject: Fix deprecated usage of dep_getkey. (trunk r15396) X-Git-Tag: v2.1.8~104 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2b0573d5a95c7f5c490bb462e42c41cb9b539291;p=portage.git Fix deprecated usage of dep_getkey. (trunk r15396) svn path=/main/branches/2.1.7/; revision=15618 --- 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."))