--- a/hgext/patchbomb.py Tue Apr 05 07:30:01 2016 +0200
+++ b/hgext/patchbomb.py Sat Jun 04 11:13:28 2016 -0700
@@ -708,13 +708,7 @@
fp.close()
else:
if not sendmail:
- verifycert = ui.config('smtp', 'verifycert', 'strict')
- if opts.get('insecure'):
- ui.setconfig('smtp', 'verifycert', 'loose', 'patchbomb')
- try:
- sendmail = mail.connect(ui, mbox=mbox)
- finally:
- ui.setconfig('smtp', 'verifycert', verifycert, 'patchbomb')
+ sendmail = mail.connect(ui, mbox=mbox)
ui.status(_('sending '), subj, ' ...\n')
ui.progress(_('sending'), i, item=subj, total=len(msgs),
unit=_('emails'))