tools (config), memory: renamed SafeConfigParser following Python 3 port

This commit is contained in:
Goffi 2019-08-16 17:06:43 +02:00
commit b039dc4572

View file

@ -26,7 +26,7 @@ log = getLogger(__name__)
import os.path
import copy
from collections import namedtuple
from configparser import SafeConfigParser, NoOptionError, NoSectionError
from configparser import ConfigParser, NoOptionError, NoSectionError
from uuid import uuid4
from twisted.python import failure
from twisted.internet import defer, reactor, error
@ -229,7 +229,7 @@ def fixLocalDir(silent=True):
@param silent (boolean): toggle logging output (must be True when called from sat.sh)
"""
user_config = SafeConfigParser()
user_config = ConfigParser()
try:
user_config.read(C.CONFIG_FILES)
except: