The "hex" codec doesn't exist in Python 3. We could use
codecs.decode(h, 'hex_codec'). But binascii.unhexlify()
exists and should work the same on Python 2 and 3.
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHG9cb51e74e9ad: wireprotov1server: use binascii.unhexlify
rHGfb28dc97e38f: wireprotov1server: use binascii.unhexlify
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.