##// END OF EJS Templates
py3: make keys of keyword arguments strings...
Pulkit Goyal -
r30586:2d555d75 default
parent child Browse files
Show More
@@ -803,7 +803,8 b' def _dispatch(req):'
803
803
804 msg = ' '.join(' ' in a and repr(a) or a for a in fullargs)
804 msg = ' '.join(' ' in a and repr(a) or a for a in fullargs)
805 ui.log("command", '%s\n', msg)
805 ui.log("command", '%s\n', msg)
806 d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
806 strcmdopt = pycompat.strkwargs(cmdoptions)
807 d = lambda: util.checksignature(func)(ui, *args, **strcmdopt)
807 try:
808 try:
808 return runcommand(lui, repo, cmd, fullargs, ui, options, d,
809 return runcommand(lui, repo, cmd, fullargs, ui, options, d,
809 cmdpats, cmdoptions)
810 cmdpats, cmdoptions)
@@ -9,6 +9,6 b' The full traceback is hidden to have a s'
9 > $PYTHON3 `which hg` $cmd 2>&1 2>&1 | tail -1
9 > $PYTHON3 `which hg` $cmd 2>&1 2>&1 | tail -1
10 > done
10 > done
11 version
11 version
12 TypeError: Can't convert 'bytes' object to str implicitly
12 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 debuginstall
13 debuginstall
14 TypeError: Can't convert 'bytes' object to str implicitly
14 TypeError: Can't convert 'bytes' object to str implicitly
General Comments 0
You need to be logged in to leave comments. Login now