From 4896b414e70b7c537825ea3375915e1f46d1b9cd Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 1 Aug 2018 10:33:39 +0200 Subject: o Moving all doit modules to use DoitConfig(). --- demo/doit/dodo.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'demo') 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( -- cgit v1.2.3