1 parent 6aac5bd commit 20d81ddCopy full SHA for 20d81dd
1 file changed
populate_build.py
@@ -310,7 +310,7 @@ def get_new_images(
310
def parse_denylist(filename: Path) -> List[str]:
311
"""Parse the list of images to skip."""
312
with filename.open() as handle:
313
- return [entry for line in handle.readlines() if (entry := line.strip() and not line.startswith('#'))]
+ return [entry for line in handle.readlines() if (entry := line.strip()) and not line.startswith('#')]
314
315
316
def generate_build_script(filename: Path, images: List[str]) -> None:
0 commit comments