Page MenuHomePhabricator

py3: use hex(hasher.digest())
ClosedPublic

Authored by indygreg on Feb 11 2018, 9:35 PM.

Details

Summary

.hexdigest() returns a system str. .digest() consistently returns
bytes.

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.

Event Timeline

indygreg created this revision.Feb 11 2018, 9:35 PM
pulkit accepted this revision.Feb 12 2018, 2:34 AM
durin42 accepted this revision.Feb 12 2018, 9:29 PM
This revision is now accepted and ready to land.Feb 12 2018, 9:29 PM
This revision was automatically updated to reflect the committed changes.