]> git.dujemihanovic.xyz Git - u-boot.git/commit
patman: Fix defaults not propagating to subparsers
authorSean Anderson <sean.anderson@seco.com>
Fri, 29 Apr 2022 14:53:34 +0000 (10:53 -0400)
committerSimon Glass <sjg@chromium.org>
Tue, 28 Jun 2022 02:09:51 +0000 (03:09 +0100)
commit4780f7d8a6b2f479884d4e6068a73d1a69f82d4d
tree7716b000f08f08106f5ec88eb5ebf1aa39dfaf7b
parentd3eb1bf7cf242440c966ff20114abbe7f94c4a46
patman: Fix defaults not propagating to subparsers

On python 3.8.10 (and 3.10), subparsers are not updated with defaults. I
suspect this is related to [1]. Fix this by explicitly updating
subparsers with settings.

[1] https://github.com/python/cpython/issues/89398

Fixes: 3145b63513 ("patman: Update defaults in subparsers")
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Tested-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
tools/patman/settings.py