changeset 11036 | 4efdccaca21d |
parent 10982 | 0a548640e012 |
child 11225 | d6dbd5e4ee72 |
--- a/mercurial/ui.py Mon Apr 26 13:21:03 2010 +0200 +++ b/mercurial/ui.py Wed Apr 28 21:00:07 2010 +0200 @@ -182,7 +182,8 @@ return _parse_plain, parts, offset while offset < len(s) and s[offset] != '"': - if s[offset] == '\\' and offset + 1 < len(s) and s[offset + 1] == '"': + if (s[offset] == '\\' and offset + 1 < len(s) + and s[offset + 1] == '"'): offset += 1 parts[-1] += '"' else: