--- a/hgext/patchbomb.py Wed Nov 13 16:46:28 2019 +0100
+++ b/hgext/patchbomb.py Wed Nov 13 17:06:05 2019 +0100
@@ -958,7 +958,7 @@
ui.pager(b'email')
generator = mail.Generator(ui, mangle_from_=False)
try:
- generator.flatten(m, 0)
+ generator.flatten(m, False)
ui.write(b'\n')
except IOError as inst:
if inst.errno != errno.EPIPE:
@@ -973,7 +973,7 @@
del m['Bcc']
fp = stringio()
generator = mail.Generator(fp, mangle_from_=False)
- generator.flatten(m, 0)
+ generator.flatten(m, False)
alldests = to + bcc + cc
sendmail(sender_addr, alldests, fp.getvalue())