##// END OF EJS Templates
py3: don't try and format a bare dict into a byte string in callconduit...
Ian Moody -
r42065:9a8c7c17 default
parent child Browse files
Show More
@@ -204,7 +204,7 b' def callconduit(repo, name, params):'
204 204 """call Conduit API, params is a dict. return json.loads result, or None"""
205 205 host, token = readurltoken(repo)
206 206 url, authinfo = util.url(b'/'.join([host, b'api', name])).authinfo()
207 repo.ui.debug(b'Conduit Call: %s %s\n' % (url, params))
207 repo.ui.debug(b'Conduit Call: %s %s\n' % (url, pycompat.byterepr(params)))
208 208 params = params.copy()
209 209 params[b'api.token'] = token
210 210 data = urlencodenested(params)
General Comments 0
You need to be logged in to leave comments. Login now