From f03be2d0b764880ab07a76505a7f7fdfc39507aa Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 6 Nov 2006 05:59:26 +0000 Subject: Prevent the --newuse check in depgraph.create() that is intended for the ebuild type from being done on binary packages (which can lead to a KeyError). The --newuse check for binaries is elsewhere (in select_dep). svn path=/main/trunk/; revision=4947 --- bin/emerge | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/emerge b/bin/emerge index 932ad65b1..80c0514d3 100755 --- a/bin/emerge +++ b/bin/emerge @@ -841,6 +841,7 @@ class depgraph: If the package has new iuse flags or different use flags then if --newuse is specified, we need to merge the package. """ if merging==0 and "--newuse" in self.myopts and \ + mytype == "ebuild" and \ vardbapi.cpv_exists(mykey): pkgsettings.setcpv(mykey, mydb=portdb) forced_flags = set() -- cgit v1.2.3-1-g7c22