action_build: remove useless --ask autoclean
authorZac Medico <zmedico@gentoo.org>
Mon, 17 Jun 2013 05:59:02 +0000 (22:59 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 17 Jun 2013 05:59:02 +0000 (22:59 -0700)
This autoclean invocation would should have no effect anyway, unless
the vdb happens to be in an inconsistent state due to a previously
interrupted emerge (relatively rare).

pym/_emerge/actions.py

index fd8c0b4e6f9f129de2ff8be68a11ce503e17f52c..6dc384b70951dfa4e3024938f06f0ab8d74a514e 100644 (file)
@@ -375,8 +375,6 @@ def action_build(settings, trees, mtimedb,
                                        not oneshot and world_candidates:
                                        # Prompt later, inside saveNomergeFavorites.
                                        prompt = None
-                               elif settings["AUTOCLEAN"] and "yes"==settings["AUTOCLEAN"]:
-                                       prompt="Nothing to merge; would you like to auto-clean packages?"
                                else:
                                        print()
                                        print("Nothing to merge; quitting.")