mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-11 10:31:30 +00:00
Add config entry for SRU regression emails
Also rename the key to SRUREGRESSIONEMAIL_ENABLE, since
SRUREGRESSION_ENABLE sounds like we're turning off the regressions
themselves. If only. 😜
This commit is contained in:
parent
bb032d98d8
commit
34bd0d2706
@ -104,3 +104,4 @@ ADT_SHARED_RESULTS_CACHE =
|
|||||||
|
|
||||||
# email uploaders for stuck uploads
|
# email uploaders for stuck uploads
|
||||||
EMAIL_ENABLE = yes
|
EMAIL_ENABLE = yes
|
||||||
|
SRUREGRESSIONEMAIL_ENABLE = no
|
||||||
|
@ -544,7 +544,7 @@ class Britney(object):
|
|||||||
self.policies.append(EmailPolicy(self.options,
|
self.policies.append(EmailPolicy(self.options,
|
||||||
self.suite_info,
|
self.suite_info,
|
||||||
dry_run=add_email_policy == 'dry-run'))
|
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'):
|
if add_sruregression_policy in ('yes', 'dry-run'):
|
||||||
self.policies.append(SRUADTRegressionPolicy(self.options,
|
self.policies.append(SRUADTRegressionPolicy(self.options,
|
||||||
self.suite_info,
|
self.suite_info,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user