summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bernard <jbernard@jbernard.io>2023-11-01 19:30:04 -0400
committerJon Bernard <jbernard@jbernard.io>2023-11-01 19:30:04 -0400
commit379587184c4ade076474c18aebe78cdc3c13c6af (patch)
treefc071aed5d7ac3c7534a74ba4e9e4420ed476d0c
parent83c8d555cbeac576b65eeffbc18cb5e373cd41c4 (diff)
downloaddotfiles-379587184c4ade076474c18aebe78cdc3c13c6af.zip
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
-rw-r--r--dotfiles/cli.py2
1 files changed, 1 insertions, 1 deletions
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()