##// END OF EJS Templates
phabricator: adapt to the new `urlutil.url()` API...
Matt Harbison -
r47830:067f2c53 5.8 stable
parent child Browse files
Show More
@@ -403,7 +403,7 b' def readurltoken(ui):'
403 403 def callconduit(ui, name, params):
404 404 """call Conduit API, params is a dict. return json.loads result, or None"""
405 405 host, token = readurltoken(ui)
406 url, authinfo = util.url(b'/'.join([host, b'api', name])).authinfo()
406 url, authinfo = urlutil.url(b'/'.join([host, b'api', name])).authinfo()
407 407 ui.debug(b'Conduit Call: %s %s\n' % (url, pycompat.byterepr(params)))
408 408 params = params.copy()
409 409 params[b'__conduit__'] = {
General Comments 0
You need to be logged in to leave comments. Login now