Mercurial > public > mercurial-scm > hg
diff hgext/record.py @ 13075:d73c3034deee
coding style: fix gratuitous whitespace after Python keywords
author | Thomas Arendsen Hein <thomas@jtah.de> |
---|---|
date | Fri, 03 Dec 2010 11:30:45 +0100 |
parents | 3e2281b85990 |
children | a08b49d2f116 |
line wrap: on
line diff
--- a/hgext/record.py Fri Dec 03 11:23:38 2010 +0100 +++ b/hgext/record.py Fri Dec 03 11:30:45 2010 +0100 @@ -344,10 +344,10 @@ # new hunk if resp_file[0] is None and resp_all[0] is None: chunk.pretty(ui) - r = total == 1 and prompt(_('record this change to %r?') % - chunk.filename()) \ - or prompt(_('record change %d/%d to %r?') % - (pos, total, chunk.filename())) + r = (total == 1 + and prompt(_('record this change to %r?') % chunk.filename()) + or prompt(_('record change %d/%d to %r?') % + (pos, total, chunk.filename()))) if r: if fixoffset: chunk = copy.copy(chunk)