From 3c05c8fff779bd190b31fa8aa16b7a1b24420a60 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 11 Aug 2018 09:54:00 -0700 Subject: 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 --- scripts/devtool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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: -- cgit 1.2.3-korg