Skip to content

Commit

Permalink
Prevent use of 'PROD:XXX' for DNP option
Browse files Browse the repository at this point in the history
  • Loading branch information
eeintech committed Dec 21, 2020
1 parent 8d0d16f commit 2c856af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kibom/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def writeVariant(input_file, output_dir, output_file, variant, preferences):
variant_field_value = component.getField(field)

# Process no loaded option
if variant_field_value.lower() in DNF:
if variant_field_value.lower() in DNF and not field_name:
do_not_populate.append(component)
break

Expand Down

0 comments on commit 2c856af

Please sign in to comment.