summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-07-01 04:43:47 +0000
committerZac Medico <zmedico@gentoo.org>2006-07-01 04:43:47 +0000
commit75e1148c91c8b54ff4b8b011ff81a328a609b9f1 (patch)
treef212f75f18297d2f65b8e93af9e03d9563afcad1 /bin
parent0365f60dad7b072d6497820f4fd8544d5af14691 (diff)
downloadportage-75e1148c91c8b54ff4b8b011ff81a328a609b9f1.tar.gz
portage-75e1148c91c8b54ff4b8b011ff81a328a609b9f1.tar.bz2
portage-75e1148c91c8b54ff4b8b011ff81a328a609b9f1.zip
Allow portage.getmaskingstatus() to operate without global variables.
svn path=/main/trunk/; revision=3726
Diffstat (limited to 'bin')
-rwxr-xr-xbin/emerge3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index 4e1c37bea..32a72527c 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1055,7 +1055,8 @@ class depgraph:
print "!!! One of the following masked packages is required to complete your request:"
oldcomment = ""
for p in alleb:
- mreasons = portage.getmaskingstatus(p)
+ mreasons = portage.getmaskingstatus(p,
+ settings=self.settings, portdb=self.portdb)
print "- "+p+" (masked by: "+string.join(mreasons, ", ")+")"
comment = portage.getmaskingreason(p)
if comment and comment != oldcomment: