author | Thomas Arendsen Hein <thomas@intevation.de> |
Sun, 04 Mar 2007 18:42:31 +0100 | |
changeset 4142 | ba3e13306f70 |
parent 4141 | 49d7a035235b |
child 4143 | 26314500a5e1 |
--- a/hgext/patchbomb.py Sun Mar 04 18:40:08 2007 +0100 +++ b/hgext/patchbomb.py Sun Mar 04 18:42:31 2007 +0100 @@ -156,8 +156,7 @@ body += '\n'.join(patch) msg = email.MIMEText.MIMEText(body) - subj = desc[0].strip() - if subj.endswith('.'): subj = subj[:-1] + subj = desc[0].strip().rstrip('. ') if total == 1: subj = '[PATCH] ' + (opts['subject'] or subj) else: