From: Zac Medico Date: Mon, 6 Nov 2006 05:59:26 +0000 (-0000) Subject: Prevent the --newuse check in depgraph.create() that is intended for the ebuild type... X-Git-Tag: v2.1.2~506 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f03be2d0b764880ab07a76505a7f7fdfc39507aa;p=portage.git 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 --- 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()