Mercurial > hg
comparison hgext/patchbomb.py @ 4633:ff7253a0d1da
Cleanup of whitespace, indentation and line continuation.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 19 Jun 2007 08:06:37 +0200 |
parents | 64c415d2553a |
children | eadfaa9ec487 |
comparison
equal
deleted
inserted
replaced
4632:8d46056960ab | 4633:ff7253a0d1da |
---|---|
314 | 314 |
315 msgs.insert(0, msg) | 315 msgs.insert(0, msg) |
316 return msgs | 316 return msgs |
317 | 317 |
318 def getbundlemsgs(bundle): | 318 def getbundlemsgs(bundle): |
319 subj = opts['subject'] or \ | 319 subj = (opts['subject'] |
320 prompt('Subject:', default='A bundle for your repository') | 320 or prompt('Subject:', default='A bundle for your repository')) |
321 ui.write(_('\nWrite the introductory message for the bundle.\n\n')) | 321 ui.write(_('\nWrite the introductory message for the bundle.\n\n')) |
322 body = ui.edit('', sender) | 322 body = ui.edit('', sender) |
323 | 323 |
324 msg = email.MIMEMultipart.MIMEMultipart() | 324 msg = email.MIMEMultipart.MIMEMultipart() |
325 if body: | 325 if body: |