[PATCH 3/3] tools: patman: fix deprecated Python ConfigParser methods
Simon Glass
sjg at chromium.org
Mon Jul 15 15:31:51 CEST 2024
On Tue, 4 Jun 2024 at 10:16, Brandon Maier <brandon.maier at collins.com> wrote:
>
> 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 at collins.com>
> CC: Simon Glass <sjg at chromium.org>
> ---
> tools/patman/settings.py | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list