summaryrefslogtreecommitdiffstats
path: root/lavalab-gen.py
diff options
context:
space:
mode:
authorkhilman <khilman@users.noreply.github.com>2018-11-19 09:20:47 -0800
committerGitHub <noreply@github.com>2018-11-19 09:20:47 -0800
commitb88c8504b00c9c6403e2fb9bc1e21c9a8111922e (patch)
treef8207a3020e34c602829c733673fdfebfde873d7 /lavalab-gen.py
parente64ad5a167f3a7cb7491a17a725c6ec365897302 (diff)
parent3697cafd890ccf56d7306320546349a32ce42d48 (diff)
Merge pull request #64 from montjoie/envfix
lavalab-gen.py: Add missing newline after overrides
Diffstat (limited to 'lavalab-gen.py')
-rwxr-xr-xlavalab-gen.py4
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()