Skip to content

Commit

Permalink
Merge pull request #36 from thomasjpfan/sdist_download
Browse files Browse the repository at this point in the history
BUG Enables downloads for sdist
  • Loading branch information
ogrisel authored Aug 4, 2020
2 parents 01ee128 + 9765bdd commit e0c72e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wheelhouse_uploader/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def _parse_exe_filename(basename, project_name=None, return_tags=True):
def _parse_source_filename(basename, project_name=None, return_tags=True):
distname, version = basename.rsplit('-', 1)
distname = _wheel_escape(distname)
if project_name is not None and _wheel_escape(project_name):
if project_name is not None and distname != _wheel_escape(project_name):
raise ValueError('File %s does not match expected project name %s'
% (basename, project_name))
if return_tags:
Expand Down

0 comments on commit e0c72e6

Please sign in to comment.