Remove a sorted call

Otherwise, we'd try sorting this list twice.
This commit is contained in:
Pradyun Gedam 2020-05-21 19:32:28 +05:30 提交者 GitHub
父節點 f5ff110df7
當前提交 cfaa08efed
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增1 行删除

查看文件

@ -274,7 +274,7 @@ def upload_release(session):
f"Remove dist/ and run 'nox -s build-release -- {version}'"
)
# Sanity check: Make sure the files are correctly named.
distfile_names = sorted(map(os.path.basename, distribution_files))
distfile_names = map(os.path.basename, distribution_files)
expected_distribution_files = [
f"pip-{version}-py2.py3-none-any.whl",
f"pip-{version}.tar.gz",