Submitter | phabricator |
---|---|
Date | Oct. 18, 2019, 11:08 a.m. |
Message ID | <3a91628f746e381c82d3e47fa43240a4@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/42473/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/hgext/phabricator.py b/hgext/phabricator.py --- a/hgext/phabricator.py +++ b/hgext/phabricator.py @@ -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)