# HG changeset patch # User Bryan O'Sullivan # Date 1124695982 28800 # Node ID c37dd58a444a83b5542edce8cd83f6228f0fc955 # Parent 458b84a96e1c6ab0a9709dba2f3d8995d05c02e9 contrib/patchbomb: Fix buglet with empty cc list. diff -r 458b84a96e1c -r c37dd58a444a contrib/patchbomb --- 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')