[PATCH v2] patman: Fix defaults not propagating to subparsers

Simon Glass sjg at chromium.org
Tue Jun 28 15:38:06 CEST 2022


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 at seco.com>
Reviewed-by: Alper Nebi Yasak <alpernebiyasak at gmail.com>
Tested-by: Alper Nebi Yasak <alpernebiyasak at gmail.com>
---

Changes in v2:
- Fix spelling of "propagating" in commit message
- Update comment to more clearly indicate intent

 tools/patman/settings.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list