Skip to content

Commit

Permalink
Merge pull request #652 from Alyetama/patch-1
Browse files Browse the repository at this point in the history
Avoid Environment Variable Substitution by Using RawConfigParser
  • Loading branch information
takluyver authored Aug 15, 2023
2 parents f7496a5 + ce120d1 commit d8cc776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flit/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def get_repositories(file="~/.pypirc"):
This returns a dict keyed by name, of dicts with keys 'url', 'username',
'password'. Username and password may be None.
"""
cp = configparser.ConfigParser()
cp = configparser.ConfigParser(interpolation=None)
if isinstance(file, str):
file = os.path.expanduser(file)

Expand Down

0 comments on commit d8cc776

Please sign in to comment.