From 6490028cfb4b57eee115e9480f45be07c6ae2e02 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Tue, 11 Apr 2023 18:12:37 +0200 Subject: bootstrap-traverser: Support actions without inputs --- bin/bootstrap-traverser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/bootstrap-traverser.py') diff --git a/bin/bootstrap-traverser.py b/bin/bootstrap-traverser.py index 37c54f71..d2961312 100755 --- a/bin/bootstrap-traverser.py +++ b/bin/bootstrap-traverser.py @@ -79,7 +79,7 @@ def run_action(action_id, *, config, root, graph): return action_dir os.makedirs(action_dir) action_desc = graph["actions"][action_id] - for location, desc in action_desc["input"].items(): + for location, desc in action_desc.get("input", {}).items(): link(build(desc, config=config, root=root, graph=graph), os.path.join(action_dir, location)) cmd = action_desc["command"] -- cgit v1.2.3