From 3d7196280c57f05d3eb25567f4483ab8e89d29e1 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Tue, 15 Oct 2019 15:51:31 +0200 Subject: split-bom-by-supplier: Removing debugging output. --- src/ee/tools/split_bom_by_supplier.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ee/tools') 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) -- cgit v1.2.3