diff mbox series

[1/2] populate_sdk_ext: use ConfigParser instead of SafeConfigParser

Message ID 20221107220910.193855-1-ross.burton@arm.com
State New
Headers show
Series [1/2] populate_sdk_ext: use ConfigParser instead of SafeConfigParser | expand

Commit Message

Ross Burton Nov. 7, 2022, 10:09 p.m. UTC
SafeConfigParser was renamed to ConfigParser in 3.2, and the
SafeConfigParser alias will be removed in 3.12.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/classes-recipe/populate_sdk_ext.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/classes-recipe/populate_sdk_ext.bbclass b/meta/classes-recipe/populate_sdk_ext.bbclass
index 925cb313fcd..01d8a693a72 100644
--- a/meta/classes-recipe/populate_sdk_ext.bbclass
+++ b/meta/classes-recipe/populate_sdk_ext.bbclass
@@ -233,7 +233,7 @@  python copy_buildsystem () {
 
     # Write out config file for devtool
     import configparser
-    config = configparser.SafeConfigParser()
+    config = configparser.ConfigParser()
     config.add_section('General')
     config.set('General', 'bitbake_subdir', conf_bbpath)
     config.set('General', 'init_path', conf_initpath)