summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2019-04-11 10:34:28 +0200
committerStefan Metzmacher <metze@samba.org>2019-04-18 12:09:34 +0000
commitda0567e00b113baccad7f41f9dab5dc82cc7f996 (patch)
treea09ffa33b6b639f48636b0394936b6f2f270cdbd /bootstrap
parentc15bbb0e78da1393c5e168d0aafa2fc984ef07c4 (diff)
downloadsamba-da0567e00b113baccad7f41f9dab5dc82cc7f996.tar.gz
bootstrap/template.py: generate Vagrantfile just once
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/template.py10
1 files 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():