Skip to content

Commit

Permalink
cfg values cannot be None
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed Sep 10, 2024
1 parent 35dac28 commit 687c256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ def prepare_job_cfg(job_dir, build_env_cfg, repos_cfg, repo_id, software_subdir,
job_cfg[job_cfg_arch_section] = {}
job_cfg[job_cfg_arch_section][job_metadata.JOB_CFG_ARCHITECTURE_SOFTWARE_SUBDIR] = software_subdir
job_cfg[job_cfg_arch_section][job_metadata.JOB_CFG_ARCHITECTURE_OS_TYPE] = os_type
job_cfg[job_cfg_arch_section][job_metadata.JOB_CFG_ARCHITECTURE_ACCELERATOR] = accelerator
job_cfg[job_cfg_arch_section][job_metadata.JOB_CFG_ARCHITECTURE_ACCELERATOR] = accelerator if accelerator else ''

# copy contents of directory containing repository configuration to directory
# containing job configuration/metadata
Expand Down

0 comments on commit 687c256

Please sign in to comment.