commit | 9f07026480e0aadbcd948843108497a9e76028f3 | [log] [tgz] |
---|---|---|
author | Brandon Maier <brandon.maier@collins.com> | Tue Jun 04 16:16:07 2024 +0000 |
committer | Simon Glass <sjg@chromium.org> | Wed Jul 03 07:36:33 2024 +0100 |
tree | 6cfa71b2f2ccf287acc5e6983384d68602204d97 | |
parent | fb726ab1b1c1f52458f7b7866439692d39256071 [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>