commit | d44abb3862c91a7181b6ff47af337825d36f24e4 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Thu Oct 14 21:28:20 2021 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Fri Oct 15 17:46:44 2021 +0000 |
tree | 50555019808d170f5c5453c8e6440c95f6a6a06d | |
parent | 6610b2e387113ae131eb837680fe2478b863f8b2 [diff] [blame] |
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
diff --git a/meta-hpe/meta-common/recipes-phosphor/image/obmc-phosphor-image.bbappend b/meta-hpe/meta-common/recipes-phosphor/image/obmc-phosphor-image.bbappend index 721ad10..5cc1192 100644 --- a/meta-hpe/meta-common/recipes-phosphor/image/obmc-phosphor-image.bbappend +++ b/meta-hpe/meta-common/recipes-phosphor/image/obmc-phosphor-image.bbappend
@@ -10,7 +10,7 @@ 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: