From 379587184c4ade076474c18aebe78cdc3c13c6af Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Wed, 1 Nov 2023 19:30:04 -0400 Subject: Update config parser for Python 3.12 SafeConfigParser was deprecated in Python 3.2 and was recently removed. The documentation recommends using ConfigParser instead. Fixes #79 --- dotfiles/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/cli.py b/dotfiles/cli.py index 89966cc..8486ee0 100644 --- a/dotfiles/cli.py +++ b/dotfiles/cli.py @@ -147,7 +147,7 @@ def parse_args(): def parse_config(config_file): - parser = configparser.SafeConfigParser() + parser = configparser.ConfigParser() parser.read(os.path.expanduser(config_file)) opts = dict() -- cgit v1.2.3