From da0567e00b113baccad7f41f9dab5dc82cc7f996 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 11 Apr 2019 10:34:28 +0200 Subject: [PATCH] bootstrap/template.py: generate Vagrantfile just once Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider --- bootstrap/template.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bootstrap/template.py b/bootstrap/template.py index 2eb70fd693e..1e101c8f0e0 100755 --- a/bootstrap/template.py +++ b/bootstrap/template.py @@ -46,11 +46,11 @@ def render(dists): if path.endswith('.sh'): os.chmod(path, 0o755) - key = 'Vagrantfile' - path = os.path.join(OUT, key) - log.info('%s: render "%s" to %s', dist, key, path) - with io.open(path, mode='wt', encoding='utf8') as fp: - fp.write(VAGRANTFILE) + key = 'Vagrantfile' + path = os.path.join(OUT, key) + log.info('%s: render "%s" to %s', dist, key, path) + with io.open(path, mode='wt', encoding='utf8') as fp: + fp.write(VAGRANTFILE) def main(): -- 2.11.4.GIT