summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/emerge4
-rwxr-xr-xbin/repoman2
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/emerge b/bin/emerge
index 55e9420d1..d705f4a7d 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -2127,9 +2127,9 @@ def unmerge(unmerge_action, unmerge_files):
syslist = []
for x in realsyslist:
mycp = portage.dep_getkey(x)
- if mycp in portage.settings.virtuals:
+ if mycp in portage.settings.getvirtuals():
providers = []
- for provider in portage.settings.virtuals[mycp]:
+ for provider in portage.settings.getvirtuals()[mycp]:
if portage.db[portage.root]["vartree"].dbapi.match(provider):
providers.append(provider)
if len(providers) == 1:
diff --git a/bin/repoman b/bin/repoman
index 8bce009aa..9ef848b1b 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1115,7 +1115,7 @@ for x in scanlist:
for myprovide in myaux["PROVIDE"].split():
prov_cp = portage.dep_getkey(myprovide)
- if prov_cp not in dep_settings.virtuals:
+ if prov_cp not in dep_settings.getvirtuals():
stats["virtual.unavailable"]+=1
fails["virtual.unavailable"].append(x+"/"+y+".ebuild: "+keyword+"("+prof[0]+") "+prov_cp)