#2278 koji-gc: fix cc/bcc e-mail handling
Merged 3 years ago by tkopecek. Opened 3 years ago by tkopecek.
tkopecek/koji issue2169a  into  master

file modified
+4 -1
@@ -410,9 +410,12 @@ 

          msg['Subject'] = "%i builds marked for deletion" % len(builds)

      msg['From'] = options.from_addr

      msg['To'] = "%s@%s" % (owner_name, options.email_domain)  # XXX!

-     emails = [msg['To']] + options.cc_addr + options.bcc_addr

+     emails = [msg['To']]

      if options.cc_addr:

          msg['Cc'] = ','.join(options.cc_addr)

+         emails += options.cc_addr

+     if options.bcc_addr:

+         emails += options.bcc_addr

      msg['X-Koji-Builder'] = owner_name

      if options.test:

          if options.debug:

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

3 years ago

Metadata Update from @jcupova:
- Pull-request tagged with: testing-done

3 years ago

I've hit that when testing a newer koji-gc. Fix is okay.

Commit 8d850f1 fixes this pull-request

Pull-Request has been merged by tkopecek

3 years ago