summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
a3163ed)
Change-Id: I344fac8d6eddaef64b7b05c4d71b841173752428
Signed-off-by: davidplunkett <dp7642@att.com>
env.trim_blocks = True
env.lstrip_blocks = True
env.trim_blocks = True
env.lstrip_blocks = True
- for master in yaml['masters']:
+ for master in yaml['masters'] and type(yaml['masters']) is list:
with open(source) as fd:
template = env.from_string(fd.read())
data = template.render(yaml=master)
with open(source) as fd:
template = env.from_string(fd.read())
data = template.render(yaml=master)
env.trim_blocks = True
env.lstrip_blocks = True
env.trim_blocks = True
env.lstrip_blocks = True
+ if 'workers' in yaml and type(yaml['workers']) is list:
for master in yaml['workers']:
with open(source) as fd:
template = env.from_string(fd.read())
for master in yaml['workers']:
with open(source) as fd:
template = env.from_string(fd.read())