From: Khem Raj Date: Sat, 11 Aug 2018 16:54:00 +0000 (-0700) Subject: devtool: Use ConfigParser instead of SafeConfigParser X-Git-Tag: uninative-2.3~721 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=3c05c8fff779bd190b31fa8aa16b7a1b24420a60;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- 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: