Mercurial > hg
changeset 41899:9a8c7c17d816
py3: don't try and format a bare dict into a byte string in callconduit
Differential Revision: https://phab.mercurial-scm.org/D6104
author | Ian Moody <moz-ian@perix.co.uk> |
---|---|
date | Fri, 08 Mar 2019 23:48:49 +0000 |
parents | 2bad8f92cebf |
children | 47125193bad0 |
files | hgext/phabricator.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/phabricator.py Fri Mar 08 17:57:59 2019 +0000 +++ b/hgext/phabricator.py Fri Mar 08 23:48:49 2019 +0000 @@ -204,7 +204,7 @@ """call Conduit API, params is a dict. return json.loads result, or None""" host, token = readurltoken(repo) url, authinfo = util.url(b'/'.join([host, b'api', name])).authinfo() - repo.ui.debug(b'Conduit Call: %s %s\n' % (url, params)) + repo.ui.debug(b'Conduit Call: %s %s\n' % (url, pycompat.byterepr(params))) params = params.copy() params[b'api.token'] = token data = urlencodenested(params)