From 36027d1307c297110b61bff453fe195e9efda07b Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Tue, 4 Nov 2014 17:53:07 -0700 Subject: [PATCH] Don't explode if results_sending_email isn't set Signed-off-by: Zack Cerza --- teuthology/results.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/teuthology/results.py b/teuthology/results.py index 14f0789ad5..06ac6ee78b 100644 --- a/teuthology/results.py +++ b/teuthology/results.py @@ -55,7 +55,8 @@ def results(args): if args.email: email_results( subject=subject, - from_=args.teuthology_config['results_sending_email'], + from_=args.teuthology_config.get('results_sending_email', + 'teuthology'), to=args.email, body=body, ) -- 2.39.5