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