diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2023-04-11 18:12:37 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-04-18 12:44:10 +0200 |
commit | 6490028cfb4b57eee115e9480f45be07c6ae2e02 (patch) | |
tree | 2f6e39d4a0c1d4e585a4fd311bf6e59480479f2e /bin/bootstrap-traverser.py | |
parent | f47851aebb7763da72df7e73a64660fd8084f86a (diff) | |
download | justbuild-6490028cfb4b57eee115e9480f45be07c6ae2e02.tar.gz |
bootstrap-traverser: Support actions without inputs
Diffstat (limited to 'bin/bootstrap-traverser.py')
-rwxr-xr-x | bin/bootstrap-traverser.py | 2 |
1 files changed, 1 insertions, 1 deletions
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"] |