summaryrefslogtreecommitdiff
path: root/meta-phosphor/classes/image_version.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor/classes/image_version.bbclass')
-rw-r--r--meta-phosphor/classes/image_version.bbclass2
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: