From 265f85bd930412790e0d5a78d21b3ec1d92ef956 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Fri, 26 Apr 2024 17:39:56 +0900 Subject: [PATCH] Replace deprecated SafeConfigParser The SafeConfigParser class was deprecated in Python 3.2 and was removed in Python 3.12. Change-Id: I51ef0f0a5b3fb943f6e1d1d804c71d5d9c3a9634 --- roles/prepare-zanata-client/files/get-modulename.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/prepare-zanata-client/files/get-modulename.py b/roles/prepare-zanata-client/files/get-modulename.py index 7a06f47f..9d40d07d 100755 --- a/roles/prepare-zanata-client/files/get-modulename.py +++ b/roles/prepare-zanata-client/files/get-modulename.py @@ -45,7 +45,7 @@ def split_multiline(value): def read_config(path): - parser = configparser.SafeConfigParser() + parser = configparser.ConfigParser() parser.read(path) config = {}