--- a/hgext/patchbomb.py Sat Sep 11 18:48:03 2010 +0200
+++ b/hgext/patchbomb.py Sat Sep 11 18:08:00 2010 +0200
@@ -394,17 +394,14 @@
if addrs:
showaddrs.append('%s %s' % (showaddr, ', '.join(addrs)))
- return mail.addrlistencode(ui, addrs, _charsets,
- opts.get('test'))
+ return mail.addrlistencode(ui, addrs, _charsets, opts.get('test'))
addrs = ui.config('email', opt) or ui.config('patchbomb', opt) or ''
if not addrs and prpt:
addrs = prompt(ui, prpt, default)
if addrs:
- showaddr = '%s %s' % (showaddr, addrs)
- showaddrs.append(showaddr)
-
+ showaddrs.append('%s %s' % (showaddr, addrs))
return mail.addrlistencode(ui, [addrs], _charsets, opts.get('test'))
to = getaddrs('to', 'To')