aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ee/tools/split_bom_by_supplier.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ee/tools/split_bom_by_supplier.py b/src/ee/tools/split_bom_by_supplier.py
index 01a6ef3..b011cce 100644
--- a/src/ee/tools/split_bom_by_supplier.py
+++ b/src/ee/tools/split_bom_by_supplier.py
@@ -23,8 +23,8 @@ def split_bom_by_supplier(bom_path: Path, part_files: List[Path], supplier_list:
uri_idx = supplier_parts.index("uri")
- for supplier, uri, path in supplier_list:
- print(supplier, uri, path)
+ # for supplier, uri, path in supplier_list:
+ # print(supplier, uri, path)
supplier_info = {uri: path for _, uri, path in supplier_list}
part_dbs = {uri: PartDb() for _, uri, _ in supplier_list}
@@ -39,8 +39,8 @@ def split_bom_by_supplier(bom_path: Path, part_files: List[Path], supplier_list:
# print("{}: {}".format(sch, part_reference.part_uriProp))
part = uri_idx.get_single(part_reference.part_uriProp)
- print("{}: {}".format(sch, part.uri))
- print("{}: {}".format(sch, part.supplier))
+ # print("{}: {}".format(sch, part.uri))
+ # print("{}: {}".format(sch, part.supplier))
part_dbs[part.supplier].add_entry(bom_part, new=False)