Skip to content

Commit

Permalink
sby: core: started on the stage config generation
Browse files Browse the repository at this point in the history
  • Loading branch information
lethalbit committed Nov 30, 2022
1 parent 8f65697 commit ba5a7b3
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion sbysrc/sby_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,22 @@ def setup_procs(self, setupmode):
self.retcode = 0
return

# TODO: Stage stuff
# Check to see if we have stages to implement
if len(self.stage.keys()) > 0:
for stage_name, data in self.stage.items():
self.setup_stage(
setupmode, config = list(
map(
lambda l: l.strip(),
f'''\
[options]
mode {data['mode']}
'''.splitlines()
)
),
name = stage_name
)


if self.opt_make_model is not None:
for name in self.opt_make_model.split(","):
Expand Down

0 comments on commit ba5a7b3

Please sign in to comment.