From 2f695ace2ebd2c5ebeb421a93e07695ba460cf70 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Thu, 28 Mar 2019 19:10:29 +0100 Subject: create-order: o Showing all unresolved parts first in the report. o Showing all MPNs and SPNs for unresolved parts. --- 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 ddaa6b9..ca335cd 100644 --- a/src/ee/kicad/make_bom.py +++ b/src/ee/kicad/make_bom.py @@ -82,8 +82,8 @@ def dpn_strategy_factory(dpn_mappings: Mapping[str, str]) -> StrategyCallable: class MakeBomStrategy(): - def __init__(self, dpn_mappings: Mapping[str, str] = None): - self.dpn_mappings = dpn_mappings or {} + def __init__(self): + self.dpn_mappings = {} self.default_strategies = [ mpn_strategy, part_type_strategy, -- cgit v1.2.3