summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-08-11 09:54:00 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-14 11:36:31 +0100
commit735f1394710aed860f8117002f13183be0321a84 (patch)
treeba57d9e1bc216d21c320d2fb15784e18f6094e89 /scripts
parent8d959ad31a3c8fa15ca692f5240d9565ecfec8bd (diff)
downloadpoky-735f1394710aed860f8117002f13183be0321a84.tar.gz
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. (From OE-Core rev: 3c05c8fff779bd190b31fa8aa16b7a1b24420a60) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/devtool2
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):
51 51
52 def __init__(self, filename): 52 def __init__(self, filename):
53 self.config_file = filename 53 self.config_file = filename
54 self.config_obj = configparser.SafeConfigParser() 54 self.config_obj = configparser.ConfigParser()
55 55
56 def get(self, section, option, default=None): 56 def get(self, section, option, default=None):
57 try: 57 try: