This is an archive of the discontinued Mercurial Phabricator instance.

py3: use b"%d" instead of str() to convert int to bytes
ClosedPublic

Authored by pulkit on Apr 13 2018, 4:48 PM.

Details

Summary

While I was here, I added 'and None' to suppress return values of .write()
calls.

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

pulkit created this revision.Apr 13 2018, 4:48 PM
durin42 accepted this revision.Apr 13 2018, 6:12 PM
This revision is now accepted and ready to land.Apr 13 2018, 6:12 PM
This revision was automatically updated to reflect the committed changes.