commit: 4e3c8ffebe0f377b2c39c5213983d641396aec34 Author: Marco Sirabella <marco <AT> sirabella <DOT> org> AuthorDate: Sat May 8 15:44:07 2021 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Sat May 8 17:53:50 2021 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=4e3c8ffe
emerge: Fail with helpful message when --jobs="" Bug: https://bugs.gentoo.org/788967 Closes: https://github.com/gentoo/portage/pull/706 Reported-by: Christophe Lermytte <gentoo <AT> lermytte.be> Signed-off-by: Marco Sirabella <marco <AT> sirabella.org> Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> lib/_emerge/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/_emerge/main.py b/lib/_emerge/main.py index 191be6479..e8a038d83 100644 --- a/lib/_emerge/main.py +++ b/lib/_emerge/main.py @@ -1072,7 +1072,7 @@ def parse_opts(tmpcmdline, silent=False): myoptions.deep = deep - if myoptions.jobs: + if myoptions.jobs is not None: jobs = None if myoptions.jobs == "True": jobs = True
