]> git.baikalelectronics.ru Git - uboot.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)
commit8f52eacf276cd7d23c26f5d42af457f59e6c2454
tree7716b000f08f08106f5ec88eb5ebf1aa39dfaf7b
parent3adad0b440507f916f6a0d903300c45c844529c8
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: f499b54383 ("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