[OE-core] [PATCH] devtool: Use ConfigParser instead of SafeConfigParser
Khem Raj
raj.khem at gmail.com
Sat Aug 11 16:54:00 UTC 2018
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 at gmail.com>
---
scripts/devtool | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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:
--
2.18.0
More information about the Openembedded-core
mailing list