summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-03-20 06:26:11 -0400
committerScott Moser <smoser@ubuntu.com>2016-03-20 06:26:11 -0400
commit5d1d36f617f9ce342930a78183a13877b5a619cd (patch)
tree5265a85b3a07d8c234fa0ebb36bd938ea558bd73 /bin
parent1c8e0d93bb48338777e689e6303702bf84fed0d1 (diff)
downloadvyos-cloud-init-5d1d36f617f9ce342930a78183a13877b5a619cd.tar.gz
vyos-cloud-init-5d1d36f617f9ce342930a78183a13877b5a619cd.zip
fix syntax
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cloud-init2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cloud-init b/bin/cloud-init
index 42166580..f101a713 100755
--- a/bin/cloud-init
+++ b/bin/cloud-init
@@ -440,7 +440,7 @@ def atomic_write_file(path, content, mode='w'):
try:
tf = tempfile.NamedTemporaryFile(dir=os.path.dirname(path),
delete=False, mode=mode)
- tf.write(content)u
+ tf.write(content)
tf.close()
os.rename(tf.name, path)
except Exception as e: