py3: use node.hex(h.digest()) instead of h.hexdigest()

Authored by pulkit.

Description

py3: use node.hex(h.digest()) instead of h.hexdigest()

hashlib.sha1.hexdigest() returns str on Python 3.

Differential Revision: https://phab.mercurial-scm.org/D1792

Details

Committed
pulkitDec 28 2017, 6:55 PM
Differential Revision
D1792: py3: use node.hex(h.digest()) instead of h.hexdigest()
Parents
rHG154754d1f137: tests: make autodiff.py work on Python 3
Branches
Unknown
Tags
Unknown