Skip to content

Commit

Permalink
Merge pull request #346 from duckinator/pypi/download
Browse files Browse the repository at this point in the history
pypi.Dowloader._download_url: Fix improper use of `configparser`
  • Loading branch information
duckinator authored Dec 1, 2023
2 parents a0ee4a9 + e1fd437 commit da1a185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bork/pypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def _download_url(self, repository_name):
config.read(str(path))

if repository_name in config:
repo_config = config.get(repository_name, None)
repo_config = config[repository_name]
if self.PYPIRC_KEY in repo_config:
return repo_config[self.PYPIRC_KEY]

Expand Down

0 comments on commit da1a185

Please sign in to comment.