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:
parent
2b6b096914
commit
bc88eae1d2
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user