Mercurial > public > mercurial-scm > hg-stable
diff hgext/patchbomb.py @ 2790:58a679745b38
mailbomb: add a comment and remove the bcc in a more pythonic way
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Sun, 06 Aug 2006 16:03:02 +0200 |
parents | 0bcecf7d45b1 |
children | 20b95aef3fe0 |
line wrap: on
line diff
--- a/hgext/patchbomb.py Fri Aug 04 14:36:03 2006 -0700 +++ b/hgext/patchbomb.py Sun Aug 06 16:03:02 2006 +0200 @@ -288,7 +288,8 @@ fp.close() else: ui.status('Sending ', m['Subject'], ' ...\n') - m.__delitem__('bcc') + # Exim does not remove the Bcc field + del m['Bcc'] mail.sendmail(sender, to + bcc + cc, m.as_string(0)) cmdtable = {