changeset 43282 | 47946f08e463 |
parent 43264 | a4da1c3b82ab |
child 43321 | a2ff3aff81d2 |
--- a/hgext/phabricator.py Thu Oct 17 14:20:11 2019 +0200 +++ b/hgext/phabricator.py Thu Oct 17 22:40:24 2019 +0100 @@ -1274,8 +1274,8 @@ yield (b'symbol', symbol, pos) pos += len(symbol) else: # special char, ignore space - if text[pos] != b' ': - yield (text[pos], None, pos) + if text[pos : pos + 1] != b' ': + yield (text[pos : pos + 1], None, pos) pos += 1 yield (b'end', None, pos)