Skip to content

Commit 22879aa

Browse files
authored
Don't check for absent hyphen
1 parent e7cc485 commit 22879aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

add_to_pydotorg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def list_files(release: str) -> Generator[tuple[str, str, int, bool, str], None,
273273

274274
prefix, _, rest = rfile.partition("-")
275275

276-
if prefix.lower() not in ("python-", "windows-"):
276+
if prefix.lower() not in ("python", "windows"):
277277
print(f" File {reldir}/{rfile} has wrong prefix")
278278
continue
279279

0 commit comments

Comments
 (0)