diff options
author | Avishai Ish-Shalom <avishai.ish-shalom@mail.huji.ac.il> | 2012-10-10 18:27:28 +0200 |
---|---|---|
committer | Avishai Ish-Shalom <avishai.ish-shalom@mail.huji.ac.il> | 2012-10-10 18:27:28 +0200 |
commit | e59ce224c45191a0ecceb113c9e5b8e6d9dcdab1 (patch) | |
tree | 0ee69768b4a1ba590893b88fc8e3b8b7c964198c | |
parent | 4a3eab9f5a49f8ebdf30b8378fa58c342b3d9c8a (diff) | |
download | vyos-cloud-init-e59ce224c45191a0ecceb113c9e5b8e6d9dcdab1.tar.gz vyos-cloud-init-e59ce224c45191a0ecceb113c9e5b8e6d9dcdab1.zip |
Fixed typo on dict value reference
LP: #1065116
-rw-r--r-- | cloudinit/user_data.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/user_data.py b/cloudinit/user_data.py index 803ffc3a..58827e3d 100644 --- a/cloudinit/user_data.py +++ b/cloudinit/user_data.py @@ -224,7 +224,7 @@ class UserDataProcessor(object): for header in list(ent.keys()): if header in ('content', 'filename', 'type', 'launch-index'): continue - msg.add_header(header, ent['header']) + msg.add_header(header, ent[header]) self._attach_part(append_msg, msg) |