This is an archive of the discontinued Mercurial Phabricator instance.

infinitepush: fix `{get,put}_args` formatting on Python 3
ClosedPublic

Authored by sheehan on Jul 21 2020, 12:40 PM.

Details

Summary

Calling .format() on a byte-string does not work, thus
causing an exception on Python 3. This commit adds a function
to paper over the difference.

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

sheehan created this revision.Jul 21 2020, 12:40 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.