diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-16 07:38:41 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-16 07:38:41 -0700 |
commit | 611d0cdecbf7b15713824be484e8e91ca889839d (patch) | |
tree | 57d6f0707d523eb363e7ba50b6d9268faf4a655f /cloudinit/transforms/cc_chef.py | |
parent | 4a328b5629db121accd81de9ced4c4d69b038f9a (diff) | |
download | vyos-cloud-init-611d0cdecbf7b15713824be484e8e91ca889839d.tar.gz vyos-cloud-init-611d0cdecbf7b15713824be484e8e91ca889839d.zip |
Some simple fixes that will make the python 3 translation easier
Diffstat (limited to 'cloudinit/transforms/cc_chef.py')
-rw-r--r-- | cloudinit/transforms/cc_chef.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/transforms/cc_chef.py b/cloudinit/transforms/cc_chef.py index 473e5f8b..31bfb85f 100644 --- a/cloudinit/transforms/cc_chef.py +++ b/cloudinit/transforms/cc_chef.py @@ -69,7 +69,7 @@ def handle(name, cfg, cloud, log, _args): initial_json['run_list'] = chef_cfg['run_list'] if 'initial_attributes' in chef_cfg: initial_attributes = chef_cfg['initial_attributes'] - for k in initial_attributes.keys(): + for k in list(initial_attributes.keys()): initial_json[k] = initial_attributes[k] util.write_file('/etc/chef/firstboot.json', json.dumps(initial_json)) |