Otherwise on Python 3 we iterate over integers instead of a
bytes instance and the comparison fails.
Details
Details
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
+ mercurial/wireprotov2peer.py:307:
+ > self._ui.debug(_('received %r\n') % frame)
+ don't mark debug messages for translation
+ mercurial/wireprotov2peer.py:513:
+ > return [True if raw[i:i+1] == b'1' else False for i in range(len(raw))]
+ missing whitespace in expression
Comment Actions
+ mercurial/wireprotov2peer.py:307: + > self._ui.debug(_('received %r\n') % frame) + don't mark debug messages for translation + mercurial/wireprotov2peer.py:513: + > return [True if raw[i:i+1] == b'1' else False for i in range(len(raw))] + missing whitespace in expression
Fixed these as I had to rebase the changesets.