Mercurial > hg
comparison contrib/hgk @ 41468:9cb51e74e9ad
wireprotov1server: use binascii.unhexlify
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.
Differential Revision: https://phab.mercurial-scm.org/D5755
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 30 Jan 2019 13:07:20 -0800 |
parents | ce8dd4fd2d5d |
children |
comparison
equal
deleted
inserted
replaced
41467:1016b81fa43e | 41468:9cb51e74e9ad |
---|