diff options
| author | Patrick Williams <patrick@stwcx.xyz> | 2023-03-10 01:20:57 +0300 |
|---|---|---|
| committer | Patrick Williams <patrick@stwcx.xyz> | 2023-03-10 19:03:24 +0300 |
| commit | 161a8ff9ac5726763fa7a794c4ed361a5245b060 (patch) | |
| tree | 2e25c705f3d177b64aa465e8fbba8639c06b5536 /meta-openembedded/meta-python/recipes-devtools/python/python3-pexpect/0001-FSM.py-change-shebang-from-python-to-python3.patch | |
| parent | 224f26f646f2eea4939044f5359882e10fb5beef (diff) | |
| download | openbmc-161a8ff9ac5726763fa7a794c4ed361a5245b060.tar.xz | |
meta-phosphor: image_version: update deprecated python function
The configparser library has deprecated the `readfp` function since
Python 3.2. I observed that the `log.do_generate_phosphor_manifest`
had the following warning:
```
meta-phosphor/classes/image_version.bbclass:17: DeprecationWarning: This method will be removed in Python 3.12. Use 'parser.read_file()' instead.
```
The `read_file` is an identical replacement for `readfp` and has been
present since Python 3.2.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ifd2f6ca5b1ff46bb351a024186515da28f13304d
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-pexpect/0001-FSM.py-change-shebang-from-python-to-python3.patch')
0 files changed, 0 insertions, 0 deletions
