Skip to content

Commit

Permalink
nvchecker: don't convert empty to_pattern value to package name
Browse files Browse the repository at this point in the history
  • Loading branch information
lilydjwg committed Jul 4, 2024
1 parent 4c390e9 commit 1602437
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lilac2/nvchecker.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ def _gen_config_from_lilacinfos(
newconfig[f'{name}:{i}'] = conf
# Avoid empty-value keys as nvchecker can't handle that
for key, value in conf.items():
if key == 'to_pattern':
continue
if value in [None, '']:
conf[key] = name
counts[name] = len(confs)
Expand Down

0 comments on commit 1602437

Please sign in to comment.