From: Khem Raj Date: Sat, 11 Aug 2018 16:54:00 +0000 (-0700) Subject: devtool: Use ConfigParser instead of SafeConfigParser X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~17063 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c05c8fff779bd190b31fa8aa16b7a1b24420a60;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 d681a1929a2..0e578c0de36 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: