From: fluffy <fluffy@beesbuzz.biz>
Date: Thu, 12 Sep 2024 20:56:43 -0700
Subject: Switch from long-deprecated SafeConfigParser to ConfigParser

Bug: https://gitlab.com/chaica/feed2toot/-/issues/87
Bug-Debian: https://bugs.debian.org/1118778
Origin: https://gitlab.com/chaica/feed2toot/-/merge_requests/25
Last-Update: 2025-11-08
---
 feed2toot/confparse.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/feed2toot/confparse.py b/feed2toot/confparse.py
index 54010a2..c9cb66f 100644
--- a/feed2toot/confparse.py
+++ b/feed2toot/confparse.py
@@ -17,7 +17,7 @@
 '''Get values of the configuration file'''
 
 # standard library imports
-from configparser import SafeConfigParser
+from configparser import ConfigParser
 import logging
 import os
 import os.path
@@ -58,7 +58,7 @@ class ConfParse:
         for pathtoconfig in self.clioptions.configs:
             options = {}
             # read the configuration file
-            config = SafeConfigParser()
+            config = ConfigParser()
             if not config.read(os.path.expanduser(pathtoconfig)):
                 sys.exit('Could not read config file')
             ####################
