aboutsummaryrefslogtreecommitdiff
path: root/src/ee/kicad
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-03-28 19:10:29 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2019-03-28 19:10:29 +0100
commit2f695ace2ebd2c5ebeb421a93e07695ba460cf70 (patch)
treecba3b95bfede8f2e34c1edfd0ab3580ee944d521 /src/ee/kicad
parentd9daf4c1d0abf0d93702e56028e8f746b0f475bc (diff)
downloadee-python-2f695ace2ebd2c5ebeb421a93e07695ba460cf70.tar.gz
ee-python-2f695ace2ebd2c5ebeb421a93e07695ba460cf70.tar.bz2
ee-python-2f695ace2ebd2c5ebeb421a93e07695ba460cf70.tar.xz
ee-python-2f695ace2ebd2c5ebeb421a93e07695ba460cf70.zip
create-order:
o Showing all unresolved parts first in the report. o Showing all MPNs and SPNs for unresolved parts.
Diffstat (limited to 'src/ee/kicad')
-rw-r--r--src/ee/kicad/make_bom.py4
1 files changed, 2 insertions, 2 deletions
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,