浏览代码

clarify confusing error message

pull/3443/head
Ivan Pozdeev 2 个月前
父节点
当前提交
3399b2e2e5
找不到此签名对应的密钥 GPG 密钥 ID: FB6A628DCF06DCD7
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      plugins/python-build/scripts/add_cpython.py

+ 2
- 2
plugins/python-build/scripts/add_cpython.py 查看文件

@ -369,8 +369,8 @@ class CPythonAvailableVersionsDirectory(KeyedList[_CPythonAvailableVersionInfo,
download_version = packaging.version.Version(m.group("version"))
if download_version != version:
if not refine_mode:
raise ValueError(f"Unexpectedly found a download {name} for {download_version} "
f"at page {entry.download_page_url} for {version}")
raise ValueError(f"Unexpectedly found a download {name} ({download_version}) "
f"for {version} at page {entry.download_page_url}")
entry_to_fill = additional_versions_found.get_or_create(
download_version,
download_page_url=entry.download_page_url

正在加载...
取消
保存