diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-07-04 06:13:04 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-07-04 06:13:04 +0000 |
commit | 5f32c4bf10301d154aa35aaf5653afeadcd520d6 (patch) | |
tree | d8a1a2e6ee7f2b468ec838e772d753545046b802 /pym/_emerge/depgraph.py | |
parent | 9d9610e37d147b89a31e3d635016cf98c77e7143 (diff) | |
download | portage-5f32c4bf10301d154aa35aaf5653afeadcd520d6.tar.gz portage-5f32c4bf10301d154aa35aaf5653afeadcd520d6.tar.bz2 portage-5f32c4bf10301d154aa35aaf5653afeadcd520d6.zip |
Remove the --avoid-update option and make it the default behavior when
--update is not specified, as suggested by Allen Brooker (AllenJB)
<gentoo-bugs@allenjb.me.uk> in bug #275945, comment #2.
svn path=/main/trunk/; revision=13772
Diffstat (limited to 'pym/_emerge/depgraph.py')
-rw-r--r-- | pym/_emerge/depgraph.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 17e9c5f8d..9d415c7e1 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -2007,7 +2007,7 @@ class depgraph(object): selective = "selective" in self._dynamic_config.myparams reinstall = False noreplace = "--noreplace" in self._frozen_config.myopts - avoid_update = "--avoid-update" in self._frozen_config.myopts + avoid_update = "--update" not in self._frozen_config.myopts # Behavior of the "selective" parameter depends on # whether or not a package matches an argument atom. # If an installed package provides an old-style |