~smoser/cloud-init/lp-1077700

« back to all changes in this revision

Viewing changes to cloudinit/user_data.py

  • Committer: Scott Moser
  • Date: 2012-10-23 13:56:29 UTC
  • mfrom: (686.2.1 cloud-init-1065116)
  • Revision ID: smoser@brickies.net-20121023135629-lr8vtkjc0xqsxyma
multipart or cloud-config-archive, do not fail on unknown headers

Show diffs side-by-side

added added

removed removed

Lines of Context:
224
224
            for header in list(ent.keys()):
225
225
                if header in ('content', 'filename', 'type', 'launch-index'):
226
226
                    continue
227
 
                msg.add_header(header, ent['header'])
 
227
                msg.add_header(header, ent[header])
228
228
 
229
229
            self._attach_part(append_msg, msg)
230
230