update variable name (#36548)
Co-authored-by: Catalina Peralta <caperal@microsoft.com>
This commit is contained in:
Родитель
e1a524517a
Коммит
1677cdbcb9
|
@ -68,5 +68,5 @@ class PyPIClient:
|
|||
If there are different, it means the latest is not a stable
|
||||
"""
|
||||
versions = self.get_ordered_versions(package_name)
|
||||
pre_releases = [version for version in versions if not version.is_prerelease]
|
||||
return (versions[-1], pre_releases[-1])
|
||||
stable_releases = [version for version in versions if not version.is_prerelease]
|
||||
return (versions[-1], stable_releases[-1])
|
||||
|
|
Загрузка…
Ссылка в новой задаче