diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2021-10-15 05:28:20 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2021-10-15 20:46:44 +0300 |
commit | d44abb3862c91a7181b6ff47af337825d36f24e4 (patch) | |
tree | 50555019808d170f5c5453c8e6440c95f6a6a06d /meta-phosphor/classes | |
parent | 6610b2e387113ae131eb837680fe2478b863f8b2 (diff) | |
download | openbmc-d44abb3862c91a7181b6ff47af337825d36f24e4.tar.xz |
meta-phosphor: image: update ConfigParser class name
As a follow up to 400d9dab03e25d992429f94296caa4938c281fbd, fix the
deprecated SafeConfigParser to ConfigParser across the tree.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Iabf941889eed97a996b739d77c8107f1f35ce5bf
Diffstat (limited to 'meta-phosphor/classes')
-rw-r--r-- | meta-phosphor/classes/image_version.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-phosphor/classes/image_version.bbclass b/meta-phosphor/classes/image_version.bbclass index 56ebe665c..bf3ca9345 100644 --- a/meta-phosphor/classes/image_version.bbclass +++ b/meta-phosphor/classes/image_version.bbclass @@ -7,7 +7,7 @@ def do_get_version(d): import io path = d.getVar('STAGING_DIR_TARGET', True) + d.getVar('sysconfdir', True) path = os.path.join(path, 'os-release') - parser = configparser.SafeConfigParser(strict=False) + parser = configparser.ConfigParser(strict=False) parser.optionxform = str version = '' try: |