##// END OF EJS Templates
mailbomb: add a comment and remove the bcc in a more pythonic way
Benoit Boissinot -
r2790:58a67974 default
parent child Browse files
Show More
@@ -288,7 +288,8 b' def patchbomb(ui, repo, *revs, **opts):'
288 fp.close()
288 fp.close()
289 else:
289 else:
290 ui.status('Sending ', m['Subject'], ' ...\n')
290 ui.status('Sending ', m['Subject'], ' ...\n')
291 m.__delitem__('bcc')
291 # Exim does not remove the Bcc field
292 del m['Bcc']
292 mail.sendmail(sender, to + bcc + cc, m.as_string(0))
293 mail.sendmail(sender, to + bcc + cc, m.as_string(0))
293
294
294 cmdtable = {
295 cmdtable = {
General Comments 0
You need to be logged in to leave comments. Login now