From b462f533cba12d58c4b265c0a658909b0752153e Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 28 Mar 2019 21:23:27 +0100 Subject: 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. --- src/ee/kicad/make_bom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ee/kicad') 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) -- cgit v1.2.3