comparison hgext/patchbomb.py @ 7322:b05834d6be3c

patchbomb: fix indentation
author Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
date Fri, 07 Nov 2008 10:18:55 +0100
parents e016b65fd284
children 6c336e7dc145
comparison
equal deleted inserted replaced
7321:e016b65fd284 7322:b05834d6be3c
173 desc.append(line) 173 desc.append(line)
174 if not node: 174 if not node:
175 raise ValueError 175 raise ValueError
176 176
177 if opts.get('attach'): 177 if opts.get('attach'):
178 body = ('\n'.join(desc[1:]).strip() or 178 body = ('\n'.join(desc[1:]).strip() or
179 'Patch subject is complete summary.') 179 'Patch subject is complete summary.')
180 body += '\n\n\n' 180 body += '\n\n\n'
181 181
182 if opts.get('plain'): 182 if opts.get('plain'):
183 while patch and patch[0].startswith('# '): 183 while patch and patch[0].startswith('# '):
184 patch.pop(0) 184 patch.pop(0)
185 if patch: 185 if patch: