aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlice Ferrazzi <alicef@gentoo.org>2017-08-01 00:45:25 +0900
committerAlice Ferrazzi <alicef@gentoo.org>2017-08-01 00:45:25 +0900
commit8b59cb3dd179bdea0ab9b5fb46563dea43add17e (patch)
tree68a0c57c1a7ae651ac1b7fe177c792b569f4be3b
parentcleaned error catching (diff)
downloadelivepatch-8b59cb3dd179bdea0ab9b5fb46563dea43add17e.tar.gz
elivepatch-8b59cb3dd179bdea0ab9b5fb46563dea43add17e.tar.bz2
elivepatch-8b59cb3dd179bdea0ab9b5fb46563dea43add17e.zip
SafeConfigParser is deprecated change with ConfigParser
-rw-r--r--elivepatch_client/client/argsparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/elivepatch_client/client/argsparser.py b/elivepatch_client/client/argsparser.py
index 5becc2b..70c574b 100644
--- a/elivepatch_client/client/argsparser.py
+++ b/elivepatch_client/client/argsparser.py
@@ -25,7 +25,7 @@ class ArgsParser(object):
"config" : "/proc/config.gz",
}
if args.conf_file:
- config = ConfigParser.SafeConfigParser()
+ config = ConfigParser.ConfigParser()
config.read([args.conf_file])
defaults = dict(config.items("Defaults"))