summaryrefslogtreecommitdiffstats
path: root/lavalab-gen.py
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2018-11-15 11:57:46 +0100
committerCorentin LABBE <clabbe@baylibre.com>2018-11-15 11:57:46 +0100
commit3697cafd890ccf56d7306320546349a32ce42d48 (patch)
treef8207a3020e34c602829c733673fdfebfde873d7 /lavalab-gen.py
parente64ad5a167f3a7cb7491a17a725c6ec365897302 (diff)
lavalab-gen.py: Add missing newline after overrides
This patch adds missing newline after overrides. Without them, the generated file is not a valid yaml file
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()