From 7579481d54b5050edd109c9c99ec813f8048258c Mon Sep 17 00:00:00 2001 From: Ilias Apalodimas Date: Mon, 11 Oct 2021 08:43:09 +0300 Subject: post.py: Remove obsolete functions SafeConfigParser renamed to ConfigParser after python 3.2 Signed-off-by: Ilias Apalodimas --- post.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post.py b/post.py index 0909794..f6ca0e6 100755 --- a/post.py +++ b/post.py @@ -10,7 +10,7 @@ configfile = "post.conf" def get_cfg_value(configfile, category, what, strict = 'yes'): ret = None - parser = configparser.SafeConfigParser() + parser = configparser.ConfigParser() parser.read(configfile) try: -- cgit v1.2.3