Replace deprecated SafeConfigParser
The SafeConfigParser class was deprecated in Python 3.2 and was removed in Python 3.12. Change-Id: I51ef0f0a5b3fb943f6e1d1d804c71d5d9c3a9634
This commit is contained in:
parent
3dbb70af7c
commit
265f85bd93
@ -45,7 +45,7 @@ def split_multiline(value):
|
||||
|
||||
|
||||
def read_config(path):
|
||||
parser = configparser.SafeConfigParser()
|
||||
parser = configparser.ConfigParser()
|
||||
parser.read(path)
|
||||
|
||||
config = {}
|
||||
|
Loading…
Reference in New Issue
Block a user