diff options
author | Ross Burton <ross.burton@arm.com> | 2022-11-07 22:09:09 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-09 15:43:52 +0000 |
commit | 246051f11b2b83236be9487df8dfd74bd9d3722d (patch) | |
tree | 61e88f886db21cb605da55a3f9c4046911c08fd5 /meta | |
parent | b3d0e068f72b79f868940877b147fcfda67623a7 (diff) | |
download | poky-246051f11b2b83236be9487df8dfd74bd9d3722d.tar.gz |
populate_sdk_ext: use ConfigParser instead of SafeConfigParser
SafeConfigParser was renamed to ConfigParser in 3.2, and the
SafeConfigParser alias will be removed in 3.12.
(From OE-Core rev: 71b3e7f71727137b4b996cc4160c9cc1581824b8)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes-recipe/populate_sdk_ext.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/populate_sdk_ext.bbclass b/meta/classes-recipe/populate_sdk_ext.bbclass index 925cb313fc..01d8a693a7 100644 --- a/meta/classes-recipe/populate_sdk_ext.bbclass +++ b/meta/classes-recipe/populate_sdk_ext.bbclass | |||
@@ -233,7 +233,7 @@ python copy_buildsystem () { | |||
233 | 233 | ||
234 | # Write out config file for devtool | 234 | # Write out config file for devtool |
235 | import configparser | 235 | import configparser |
236 | config = configparser.SafeConfigParser() | 236 | config = configparser.ConfigParser() |
237 | config.add_section('General') | 237 | config.add_section('General') |
238 | config.set('General', 'bitbake_subdir', conf_bbpath) | 238 | config.set('General', 'bitbake_subdir', conf_bbpath) |
239 | config.set('General', 'init_path', conf_initpath) | 239 | config.set('General', 'init_path', conf_initpath) |