Fix sending the email in non-dry-run mode
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
fe47eba0a0
commit
ef002f091e
1 changed files with 1 additions and 1 deletions
|
@ -1050,7 +1050,7 @@ class DistgitBugzillaSync:
|
|||
if self.env["verbose"] or self.env["dryrun"]:
|
||||
print("*" * 80)
|
||||
print('\n'.join(report))
|
||||
else:
|
||||
if not self.env["dryrun"]:
|
||||
self.send_email(
|
||||
self.env['email']['from'],
|
||||
self.env['email']['notify_admins'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue