~smoser/cloud-init/azure_dhcp

« back to all changes in this revision

Viewing changes to cloudinit/atomic_write_json.py

  • Committer: Brent Baude
  • Date: 2016-08-05 14:54:40 UTC
  • Revision ID: bbaude@redhat.com-20160805145440-bf0mkv0j4h0x9n35
Updates from testing

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
 
23
23
def atomic_write_json(path, data):
24
 
    return atomic_write_file(path, json.dumps(data, indent=1, sort_keys=True) + "\n")
 
 
b'\\ No newline at end of file'
 
24
    return atomic_write_file(path, json.dumps(data, indent=1,
 
25
                                              sort_keys=True) + "\n")