diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-03-28 21:23:27 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-03-28 21:23:27 +0100 |
commit | b462f533cba12d58c4b265c0a658909b0752153e (patch) | |
tree | 516491980acc26c6da4e953704563f842d7aea0a /src/ee/kicad | |
parent | f0c1785f42b17b5024c3e76681c603351013c780 (diff) | |
download | ee-python-b462f533cba12d58c4b265c0a658909b0752153e.tar.gz ee-python-b462f533cba12d58c4b265c0a658909b0752153e.tar.bz2 ee-python-b462f533cba12d58c4b265c0a658909b0752153e.tar.xz ee-python-b462f533cba12d58c4b265c0a658909b0752153e.zip |
create-distributor-search-list: Ignore mechanical parts.
create-order: Adding an option for a strategy to ignore/modify parts.
ninja/init: Moving strategy from ninja to init so they're more
persistent.
Diffstat (limited to 'src/ee/kicad')
-rw-r--r-- | src/ee/kicad/make_bom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ee/kicad/make_bom.py b/src/ee/kicad/make_bom.py index ca335cd..db4f80e 100644 --- a/src/ee/kicad/make_bom.py +++ b/src/ee/kicad/make_bom.py @@ -90,10 +90,10 @@ class MakeBomStrategy(): dpn_strategy_factory(self.dpn_mappings), ] - def process_part(self, component: Component, part: types.Part): + def process_part(self, component: Component, part: Part): return self.default_process_part(component, part) - def default_process_part(self, component: Component, part: types.Part): + def default_process_part(self, component: Component, part: Part): return apply_strategies(component, part, self.default_strategies) |