diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-10-15 15:51:31 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-10-15 15:51:31 +0200 |
commit | 3d7196280c57f05d3eb25567f4483ab8e89d29e1 (patch) | |
tree | 957606b2242705d8420e1d47fb71e37b718c281b /src/ee/tools | |
parent | 1a60ced499313ee4166ae4ec60c1b68ce4808a88 (diff) | |
download | ee-python-3d7196280c57f05d3eb25567f4483ab8e89d29e1.tar.gz ee-python-3d7196280c57f05d3eb25567f4483ab8e89d29e1.tar.bz2 ee-python-3d7196280c57f05d3eb25567f4483ab8e89d29e1.tar.xz ee-python-3d7196280c57f05d3eb25567f4483ab8e89d29e1.zip |
split-bom-by-supplier: Removing debugging output.
Diffstat (limited to 'src/ee/tools')
-rw-r--r-- | src/ee/tools/split_bom_by_supplier.py | 8 |
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) |