]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
jobserver: Split up the big try: block
authorJonathan Corbet <corbet@lwn.net>
Mon, 12 Jan 2026 16:19:49 +0000 (09:19 -0700)
committerJonathan Corbet <corbet@lwn.net>
Tue, 20 Jan 2026 23:12:27 +0000 (16:12 -0700)
commitb2664a90c171846fcd572d93f6f21459721a1d2e
treebb1fd60569493d9512974fa392ac31e0a96ddbf2
parent20f73d6fc298a22d97286e8fd8529c064d1a33f5
jobserver: Split up the big try: block

The parsing of jobserver options is done in a massive try: block that hides
problems and (perhaps) bugs.  Split up that block and make the logic
explicit by moving the initial parsing of MAKEFLAGS out of that block.  Add
warnings in the places things can go wrong.

Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
tools/lib/python/jobserver.py