Stop using deprecated name for ConfigParser

The name SafeConfigParser has been deprecated since Python 3.2 and is
removed in Python 3.12.

Change-Id: Ifb1c0f525b7624a91e2cd44e1e86dee8d9f9c51d
This commit is contained in:
Zane Bitter 2023-07-19 10:39:14 +12:00
parent 2b6b096914
commit bc88eae1d2
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ class InvalidCredentialsException(Exception):
class HupConfig(object):
def __init__(self, fp_list):
self.config = ConfigParser.SafeConfigParser()
self.config = ConfigParser.ConfigParser()
for fp in fp_list:
self.config.read_file(fp)