Skip to content

Commit 5a1fa2e

Browse files
authored
BUG: fix spec0 script bug (#406)
The ruff changes introduced a bug in efc1f76 by removing the `continue` and we haven't run the script since then to spot the issue.
1 parent c37bbc4 commit 5a1fa2e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

spec-0000/SPEC0_versions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ def get_release_dates(package, support_time=plus24):
5959
try:
6060
version = Version(ver)
6161
except InvalidVersion as e:
62-
print(f"Error: '{ver}' is an invalid version. Reason: {e}")
62+
print(f"Error: '{ver}' is an invalid version for '{package}'. Reason: {e}")
63+
continue
6364

6465
if version.is_prerelease or version.micro != 0:
6566
continue

0 commit comments

Comments
 (0)