Skip to content

Commit

Permalink
fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
bgruening committed Jan 18, 2025
1 parent 6aac5bd commit 20d81dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion populate_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def get_new_images(
def parse_denylist(filename: Path) -> List[str]:
"""Parse the list of images to skip."""
with filename.open() as handle:
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('#')]


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

0 comments on commit 20d81dd

Please sign in to comment.