From 1ed746be090390bd698810081f30164094ea402d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 22 Sep 2011 08:44:48 -0700 Subject: Tweak auto --binpkg-respect-use more. We don't want to check for --rebuilt-binaries here, unless --usepkg is also enabled. In fact, we can skip the --rebuilt-binaries check since people who really want to ensure that binary packages are used as much as possible will typically specify --usepkgonly (or --getbinpkgonly which implies --usepkgonly). --- pym/_emerge/create_depgraph_params.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pym/_emerge/create_depgraph_params.py') diff --git a/pym/_emerge/create_depgraph_params.py b/pym/_emerge/create_depgraph_params.py index d94ad89b3..42983fef3 100644 --- a/pym/_emerge/create_depgraph_params.py +++ b/pym/_emerge/create_depgraph_params.py @@ -67,8 +67,7 @@ def create_depgraph_params(myopts, myaction): binpkg_respect_use = myopts.get('--binpkg-respect-use') if binpkg_respect_use is not None: myparams['binpkg_respect_use'] = binpkg_respect_use - elif '--usepkgonly' not in myopts and \ - myopts.get('--rebuilt-binaries') is not True: + elif '--usepkgonly' not in myopts: # If --binpkg-respect-use is not explicitly specified, we enable # the behavior automatically (like requested in bug #297549), as # long as it doesn't strongly conflict with other options that -- cgit v1.2.3-65-gdbad