diff options
author | Brandon Maier <brandon.maier@collins.com> | 2024-06-04 16:16:07 +0000 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2024-07-03 07:36:33 +0100 |
commit | a1488750935342f1750bd4f3cbd999688523898e (patch) | |
tree | 6cfa71b2f2ccf287acc5e6983384d68602204d97 /arch/sandbox/lib/sections.c | |
parent | 698b60a6a23a29a556d5a00c5eead63fb3fdd4f3 (diff) |
tools: patman: fix deprecated Python ConfigParser methods
The method `ConfigParser.readfp()` is marked deprecated[1].
In Python 3.12 this method have been removed, so replace it with
`ConfigParser.read_file()`.
[1] https://docs.python.org/3.11/library/configparser.html#configparser.ConfigParser.readfp
Signed-off-by: Brandon Maier <brandon.maier@collins.com>
CC: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/lib/sections.c')
0 files changed, 0 insertions, 0 deletions