diff --git a/britney.conf b/britney.conf index 95987f5..09563b7 100644 --- a/britney.conf +++ b/britney.conf @@ -104,3 +104,4 @@ ADT_SHARED_RESULTS_CACHE = # email uploaders for stuck uploads EMAIL_ENABLE = yes +SRUREGRESSIONEMAIL_ENABLE = no diff --git a/britney.py b/britney.py index 7de27fd..52932bc 100755 --- a/britney.py +++ b/britney.py @@ -544,7 +544,7 @@ class Britney(object): self.policies.append(EmailPolicy(self.options, self.suite_info, dry_run=add_email_policy == 'dry-run')) - add_sruregression_policy = getattr(self.options, 'sruregression_enable', 'no') + add_sruregression_policy = getattr(self.options, 'sruregressionemail_enable', 'no') if add_sruregression_policy in ('yes', 'dry-run'): self.policies.append(SRUADTRegressionPolicy(self.options, self.suite_info,