aboutsummaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-08-01 10:33:39 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-08-01 10:34:01 +0200
commit4896b414e70b7c537825ea3375915e1f46d1b9cd (patch)
tree8894a264e8147b949077101703815db460ec10f6 /demo
parent6d93764b9e093193783da94eced2a27b1c33b1aa (diff)
downloadee-python-4896b414e70b7c537825ea3375915e1f46d1b9cd.tar.gz
ee-python-4896b414e70b7c537825ea3375915e1f46d1b9cd.tar.bz2
ee-python-4896b414e70b7c537825ea3375915e1f46d1b9cd.tar.xz
ee-python-4896b414e70b7c537825ea3375915e1f46d1b9cd.zip
o Moving all doit modules to use DoitConfig().
Diffstat (limited to 'demo')
-rw-r--r--demo/doit/dodo.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/demo/doit/dodo.py b/demo/doit/dodo.py
index fe9b9ae..c2b8194 100644
--- a/demo/doit/dodo.py
+++ b/demo/doit/dodo.py
@@ -6,6 +6,7 @@ import ee.kicad.doit
from ee.bom.doit import *
# noinspection PyUnresolvedReferences
from ee.digikey.doit import *
+from ee.ds import DataSetManager
from ee.kicad.doit import *
prj = "demo"
@@ -21,7 +22,7 @@ dsm = DataSetManager("ee")
kicad_footprint = "kicad-footprint"
dsm.add_ds("csv", kicad_footprint, "kicad-footprint-mapping", path="ee/kicad-footprint.csv")
-ee.kicad.doit.change_data_sets_for_task(task_kicad_create_component_data_set, lambda ds: ds + [kicad_footprint])
+ee.kicad.doit.doit_config.change_data_sets_for_task(task_kicad_create_component_data_set, lambda ds: ds + [kicad_footprint])
ee.kicad.doit.init(
data_set_manager=dsm,
@@ -38,7 +39,7 @@ ee.digikey.doit.doit_config.configure(data_set_manager=dsm)
def task_orders():
- data_sets = [ee.bom.doit.output_data_set_for_task(task_bom),
+ data_sets = [ee.bom.doit.doit_config.out_data_set_for(task_bom),
ee.digikey.doit.doit_config.out_data_set_for(task_digikey_resolve_schematic_components)]
yield create_task_order_csv(