未验证 提交 129cd976 编写于 作者: F Frost Ming

fix typing error

上级 95100521
......@@ -465,7 +465,7 @@ class PreparedCandidate:
self.candidate.version = result.version
if not self.candidate.requires_python:
self.candidate.requires_python = cast(
str, result.metadata.get("Requires-Python", "")
str, result.metadata["Requires-Python"] or ""
)
self._metadata = result
return self._metadata
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册