diff options
author | khilman <khilman@users.noreply.github.com> | 2018-11-19 09:20:47 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-19 09:20:47 -0800 |
commit | b88c8504b00c9c6403e2fb9bc1e21c9a8111922e (patch) | |
tree | f8207a3020e34c602829c733673fdfebfde873d7 /lavalab-gen.py | |
parent | e64ad5a167f3a7cb7491a17a725c6ec365897302 (diff) | |
parent | 3697cafd890ccf56d7306320546349a32ce42d48 (diff) |
Merge pull request #64 from montjoie/envfix
lavalab-gen.py: Add missing newline after overrides
Diffstat (limited to 'lavalab-gen.py')
-rwxr-xr-x | lavalab-gen.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lavalab-gen.py b/lavalab-gen.py index 5191f07..6f1dd01 100755 --- a/lavalab-gen.py +++ b/lavalab-gen.py @@ -249,7 +249,7 @@ def main(): envdir = "%s/env/%s" % (workerdir, slavename) os.mkdir(envdir) fenv = open("%s/env.yaml" % envdir, 'w') - fenv.write("overrides:") + fenv.write("overrides:\n") for line in slaveenv["env"]: fenv.write(" %s\n" % line) fenv.close() @@ -364,7 +364,7 @@ def main(): envdir = "output/%s/%s/env/%s" % (slave_master["host"], slave_master["name"], name) os.mkdir(envdir) fenv = open("%s/env.yaml" % envdir, 'w') - fenv.write("overrides:") + fenv.write("overrides:\n") for line in slave["env"]: fenv.write(" %s\n" % line) fenv.close() |