hgext/patchbomb.py
changeset 2292 903ab41ac7eb
parent 2201 f15056b29472
child 2443 bd9c39e8f38b
--- a/hgext/patchbomb.py
+++ b/hgext/patchbomb.py
@@ -254,8 +254,6 @@ def patchbomb(ui, repo, *revs, **opts):
         else:
             ui.status('Sending ', m['Subject'], ' ...\n')
             mail.sendmail(sender, to + cc, m.as_string(0))
-    if not opts['test'] and not opts['mbox']:
-        mail.close()
 
 cmdtable = {
     'email':