Skip to content

Commit

Permalink
🐛(ozi.scripts.render_requirements): correct filtering of empty lines
Browse files Browse the repository at this point in the history
Signed-off-by: rjdbcm <[email protected]>
  • Loading branch information
rjdbcm committed Jun 20, 2024
1 parent cc02853 commit e9f671a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ozi/scripts/render_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
requirements = (
r.partition('\u0023')[0]
for r in filter(
lambda r: not (r.startswith('\u0023') or r == '\n'),
lambda r: not (r.startswith('\u0023') or r == ''),
pathlib.Path('./requirements.in').read_text('utf-8').splitlines(),
)
)
Expand Down

0 comments on commit e9f671a

Please sign in to comment.