Skip to content

Commit

Permalink
config: Update config parser class name
Browse files Browse the repository at this point in the history
`SafeConfigParser` has been renamed in Python 3.2 and will be removed in
Python 3.12.
  • Loading branch information
mgrabovsky authored and michalfabik committed Oct 20, 2022
1 parent 9412c52 commit 1fc6488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyfaf/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def load_config_files(config_files) -> Dict[str, Any]:
"""

result = {}
parser = configparser.SafeConfigParser()
parser = configparser.ConfigParser()
parser.read(config_files)

for section in parser.sections():
Expand Down

0 comments on commit 1fc6488

Please sign in to comment.