patchbomb: do not write Bcc
authorChristian Ebert <blacktrash@gmx.net>
Sat, 29 Jul 2006 10:27:54 +0200
changeset 2731 0bcecf7d45b1
parent 2730 819485c43ce3
child 2732 42a02b5773d4
patchbomb: do not write Bcc
hgext/patchbomb.py
--- a/hgext/patchbomb.py
+++ b/hgext/patchbomb.py
@@ -288,6 +288,7 @@ def patchbomb(ui, repo, *revs, **opts):
             fp.close()
         else:
             ui.status('Sending ', m['Subject'], ' ...\n')
+            m.__delitem__('bcc')
             mail.sendmail(sender, to + bcc + cc, m.as_string(0))
 
 cmdtable = {