commit: 11b975054dc001b69f0138f1335b2d384ece184b Author: Berin Aniesh <berinaniesh <AT> gmail <DOT> com> AuthorDate: Mon May 22 10:50:02 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue May 23 02:59:13 2023 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=11b97505
actions: drop duplication of --help logic --help is already handled in `emerge_main()` and the deleted codeblock is not needed / unreachable. Signed-off-by: Berin Aniesh <berinaniesh <AT> gmail.com> Closes: https://github.com/gentoo/portage/pull/1044 Signed-off-by: Sam James <sam <AT> gentoo.org> lib/_emerge/actions.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/_emerge/actions.py b/lib/_emerge/actions.py index 0aceb2c44..60199dae6 100644 --- a/lib/_emerge/actions.py +++ b/lib/_emerge/actions.py @@ -3522,9 +3522,6 @@ def run_action(emerge_config): noiselevel=-1, ) return 0 - if emerge_config.action == "help": - emerge_help() - return 0 spinner = stdout_spinner() if "candy" in emerge_config.target_config.settings.features:
