Fixed wrong field name in requests/mailer code
authorEd Bartosh <eduard.bartosh@intel.com>
Fri, 4 Oct 2013 09:43:07 +0000 (12:43 +0300)
committerGerrit Code Review <gerrit2@otctools.jf.intel.com>
Wed, 9 Oct 2013 06:24:08 +0000 (23:24 -0700)
commitd17c5d3e5f806a942c3be6613bbb7c1d60c64457
tree2e31f62f53972c2ae6acef9ec9568931cf2b8432
parenta7daa673ba1a17e3983489a7afa85599c11c086e
Fixed wrong field name in requests/mailer code

Event, which comes from OBS doesn't have 'type' field. 'event_type'
should be used.

Looks like this code has never been tested and as a result caused
serious production issue: all email notifications have been lost.

Fixes: #1360

Change-Id: Ie73949d4d270219ee2261597b2418ec1a3a8b806
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
requests/mailer.py