From: Zack Cerza Date: Tue, 15 Jul 2014 17:28:07 +0000 (-0600) Subject: Fix a bug where results_email was being ignored X-Git-Tag: 1.1.0~1320 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=79da400dcfc3308c3eff9c7afd20bc6aab5c653b;p=teuthology.git Fix a bug where results_email was being ignored Referring to the setting in ~/.teuthology.yaml Signed-off-by: Zack Cerza --- diff --git a/teuthology/suite.py b/teuthology/suite.py index 95483bd6d..3a28ea791 100644 --- a/teuthology/suite.py +++ b/teuthology/suite.py @@ -65,8 +65,8 @@ def main(args): job_config.name = name job_config.priority = priority - if email: - job_config.email = email + if config.results_email: + job_config.email = config.results_email if owner: job_config.owner = owner