Skip to content

Commit

Permalink
fix conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
sbbroot committed Mar 16, 2022
1 parent 5824f17 commit 2c74d29
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ def __parse_requirements(self) -> Dict[str, Any]:
pass # prereq packages are only for some distros

content = load_yaml_file(self._cfg.reqs_path / f'{self._cfg.distro_subdir}/files.yml')
reqs['files'].update(content['files'])
if content:
reqs['files'].update(content['files'])

for common_reqs in ['cranes', 'files', 'images']:
content = load_yaml_file(self._cfg.reqs_path / f'{self._cfg.os_arch.value}/{common_reqs}.yml')
Expand Down

0 comments on commit 2c74d29

Please sign in to comment.