Skip to content

Commit 1f56737

Browse files
committed
ignore comments in the skip-list
1 parent e424547 commit 1f56737

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

populate_build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ def get_new_images(
310310
def parse_denylist(filename: Path) -> List[str]:
311311
"""Parse the list of images to skip."""
312312
with filename.open() as handle:
313-
return [entry for line in handle.readlines() if (entry := line.strip())]
313+
return [entry for line in handle.readlines() if (entry := line.strip() and not line.startswith('#'))]
314314

315315

316316
def generate_build_script(filename: Path, images: List[str]) -> None:

0 commit comments

Comments
 (0)