mailer.py: Using get method: req.req -> req.get
Change-Id: Ia53384e1af4bb2b346ffac051495b69b52b8f172
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
'tgtprj': 'deleteproject',
},
{
- 'cond': lambda bs, req: req['state'] == 'revoked' and req.req('origintype') == 'change_devel',
+ 'cond': lambda bs, req: req['state'] == 'revoked' and req.get('origintype') == 'change_devel',
'temp': 'obs_request_changedevel_revoke',
'sub': '${reqid} revoked: Change devel of ${targetproject}/${targetpackage}',
'to': ['GIT_AUTHOR_EMAIL'],