config: Use ConfigParser instead of deprecated SafeConfigParser
authorGuido Günther <agx@sigxcpu.org>
Wed, 25 May 2022 16:13:38 +0000 (18:13 +0200)
committerGuido Günther <agx@sigxcpu.org>
Wed, 25 May 2022 16:13:38 +0000 (18:13 +0200)
Closes: #1011344
gbp/config.py

index f80616e5f5e98d61b0d5f9290862a043a4ad3cb0..ef5570d1e9fbd7f38b8e7edca376128b94df7704 100644 (file)
@@ -581,7 +581,7 @@ class GbpOptionParser(OptionParser):
         self.prefix = prefix
         self.config = {}
         self.valid_options = []
-        self.config_parser = configparser.SafeConfigParser()
+        self.config_parser = configparser.ConfigParser()
         self._warned_old_gbp_conf = False
 
         try: