tools (config), memory: renamed SafeConfigParser following Python 3 port
This commit is contained in:
parent
155d75bf32
commit
b039dc4572
1 changed files with 6 additions and 6 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue