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:
Takashi Kajinami 2024-04-26 17:39:56 +09:00
parent 3dbb70af7c
commit 265f85bd93

View File

@ -45,7 +45,7 @@ def split_multiline(value):
def read_config(path):
parser = configparser.SafeConfigParser()
parser = configparser.ConfigParser()
parser.read(path)
config = {}