Mercurial > hg
changeset 998:c37dd58a444a
contrib/patchbomb: Fix buglet with empty cc list.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Sun, 21 Aug 2005 23:33:02 -0800 |
parents | 458b84a96e1c |
children | bb391518bc28 |
files | contrib/patchbomb |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/patchbomb Sun Aug 21 23:03:14 2005 -0800 +++ b/contrib/patchbomb Sun Aug 21 23:33:02 2005 -0800 @@ -172,7 +172,7 @@ to = [t.strip() for t in to.split(',')] cc = (opts['cc'] or ui.config('patchbomb', 'cc') or prompt('Cc', default = '')) - cc = [c.strip() for c in cc.split(',')] + cc = (cc and [c.strip() for c in cc.split(',')]) or [] ui.write('Finish with ^D or a dot on a line by itself.\n\n')