Verified Commit 4d90a212 authored by Mattia Rizzolo's avatar Mattia Rizzolo
Browse files

deployer: send emails using the committer address, not the author's



Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 3976a605
Pipeline #264491 passed with stage
in 1 minute and 55 seconds
......@@ -112,7 +112,7 @@ class Command(BaseCommand):
deployer = Deployer(dry_run=options["dry_run"])
try:
deployer.select_branch()
email_handler.fromaddr = deployer.ref.commit.author.email
email_handler.fromaddr = deployer.ref.commit.committer.email
log.debug("Email from: %s", email_handler.fromaddr)
log.debug("Email to: %r", email_handler.toaddrs)
log.debug("Email subject: %s", email_handler.subject)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment