summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/emerge5
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/emerge b/bin/emerge
index 3924d29fe..568f156a5 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -718,10 +718,7 @@ class depgraph:
if merging==0 and "--newuse" in self.myopts and \
vardbapi.cpv_exists(mykey):
old_use = vardbapi.aux_get(mykey, ["USE"])[0].split()
- if mytype == "binary":
- iuses = set(bindb.aux_get(mykey, ["IUSE"])[0].split())
- else:
- iuses = set(portdb.aux_get(mykey, ["IUSE"])[0].split())
+ iuses = set(mydbapi.aux_get(mykey, ["IUSE"])[0].split())
if iuses.intersection(old_use) != \
iuses.intersection(myuse):
merging=1