HomePhabricator

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

Authored by sheehan.

Description

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

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.

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