mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Stubsabot: Fix incorrect diff link when a py.typed was added in a micro version (#10375)
This commit is contained in:
@@ -298,7 +298,7 @@ async def get_diff_info(
|
||||
return None
|
||||
|
||||
try:
|
||||
old_version = max(version for version in versions_to_tags if version in curr_specifier)
|
||||
old_version = max(version for version in versions_to_tags if version in curr_specifier and version < pypi_version)
|
||||
except ValueError:
|
||||
return None
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user