Respect exclude from bom in all python files

Two scripts were missing the excludeBOM=True selector.
This commit is contained in:
Fabian Pflug
2024-01-05 16:11:20 +00:00
committed by Jon Evans
parent 169ece3b71
commit a1f796ffa0
2 changed files with 11 additions and 6 deletions
@@ -86,9 +86,11 @@ out = csv.writer(f, lineterminator='\n', delimiter=',', quotechar='\"', quoting=
# Output a CSV header
out.writerow(header_names)
components = net.getInterestingComponents( excludeBOM=True )
# Get all of the components in groups of matching parts + values
# (see kicad_netlist_reader.py)
grouped = net.groupComponents()
grouped = net.groupComponents(components)
# Output all of the component information
index = 1
@@ -101,9 +103,9 @@ for group in grouped:
for component in group:
refs_l.append( component.getRef() )
c = component
refs = ", ".join(refs_l)
# Fill in the component groups common data
row = []
row.append( index )