diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-08-11 09:54:00 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-14 11:36:22 +0100 |
commit | 3c05c8fff779bd190b31fa8aa16b7a1b24420a60 (patch) | |
tree | b21aa16c138291b3ccedec3adaf011b924a648fd | |
parent | c392dabefc431dbfb31d6a1465c75ba9cc765804 (diff) | |
download | openembedded-core-3c05c8fff779bd190b31fa8aa16b7a1b24420a60.tar.gz openembedded-core-3c05c8fff779bd190b31fa8aa16b7a1b24420a60.tar.bz2 openembedded-core-3c05c8fff779bd190b31fa8aa16b7a1b24420a60.zip |
devtool: Use ConfigParser instead of SafeConfigParser
The SafeConfigParser class has been renamed to ConfigParser in Python
3.2+ see
http://bugs.python.org/issue10627
This alias will be removed in future versions.So we can use
ConfigParser directly instead.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | scripts/devtool | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/devtool b/scripts/devtool index d681a1929a..0e578c0de3 100755 --- a/scripts/devtool +++ b/scripts/devtool @@ -51,7 +51,7 @@ class ConfigHandler(object): def __init__(self, filename): self.config_file = filename - self.config_obj = configparser.SafeConfigParser() + self.config_obj = configparser.ConfigParser() def get(self, section, option, default=None): try: |