##// 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 804 msg = ' '.join(' ' in a and repr(a) or a for a in fullargs)
805 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 808 try:
808 809 return runcommand(lui, repo, cmd, fullargs, ui, options, d,
809 810 cmdpats, cmdoptions)
@@ -9,6 +9,6 b' The full traceback is hidden to have a s'
9 9 > $PYTHON3 `which hg` $cmd 2>&1 2>&1 | tail -1
10 10 > done
11 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 13 debuginstall
14 14 TypeError: Can't convert 'bytes' object to str implicitly
General Comments 0
You need to be logged in to leave comments. Login now