Allow no project specific Cloudbender tool config

This commit is contained in:
Stefan Reimer 2019-01-09 10:44:32 +00:00
parent 8e1866cd41
commit 03cf3c943f
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class CloudBender(object):
# Read top level config.yaml and extract CloudBender CTX
_config = read_yaml_file(os.path.join(self.ctx['config_path'], 'config.yaml'))
if _config:
if _config and _config.get('CloudBender'):
self.ctx.update(_config.get('CloudBender'))
# Make sure all paths are abs