From e2f3175ac01f5c9e97e53b087c92bacb96db6e48 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 9 Jul 2006 18:49:39 +0000 Subject: [PATCH] Use the abstract dbapi.aux_get() interface to unify retrieval of IUSE in depgraph.create(). svn path=/main/trunk/; revision=3819 --- bin/emerge | 5 +---- 1 file changed, 1 insertion(+), 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 -- 2.26.2