diff options
Diffstat (limited to 'cloudinit/atomic_helper.py')
-rw-r--r-- | cloudinit/atomic_helper.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cloudinit/atomic_helper.py b/cloudinit/atomic_helper.py index a3cfd942..fb2df8d5 100644 --- a/cloudinit/atomic_helper.py +++ b/cloudinit/atomic_helper.py @@ -1,5 +1,4 @@ -#!/usr/bin/python -# vi: ts=4 expandtab +# This file is part of cloud-init. See LICENSE file for license information. import json import os @@ -29,3 +28,5 @@ def write_json(filename, data, mode=_DEF_PERMS): return write_file( filename, json.dumps(data, indent=1, sort_keys=True) + "\n", omode="w", mode=mode) + +# vi: ts=4 expandtab |