Skip to content

Commit c2d59ae

Browse files
committed
explicit none check
1 parent c971981 commit c2d59ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/populate_tox/populate_tox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def fetch_release(package: str, version: Version) -> dict:
136136
def _prefilter_releases(integration: str, releases: dict[str, dict]) -> list[Version]:
137137
"""Drop versions that are unsupported without making additional API calls."""
138138
min_supported = _MIN_VERSIONS.get(integration)
139-
if min_supported:
139+
if min_supported is not None:
140140
min_supported = Version(".".join(map(str, min_supported)))
141141
else:
142142
print(

0 commit comments

Comments
 (0)