Mercurial > hg > mercurial-source
changeset 40614:3ed53b071041
py3: use pycompat.strkwargs()
Otherwise we get an error attempting to dispatch a command with
arguments because we're passing a dict with bytes keys.
Differential Revision: https://phab.mercurial-scm.org/D4732
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 24 Sep 2018 20:17:42 -0700 (2018-09-25) |
parents | a6088d10d5f2 |
children | 34074e8ea160 |
files | mercurial/wireprotov2server.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/wireprotov2server.py +++ b/mercurial/wireprotov2server.py @@ -339,7 +339,7 @@ func, spec = COMMANDS[command] args = proto.getargs(spec) - return func(repo, proto, **args) + return func(repo, proto, **pycompat.strkwargs(args)) @interfaceutil.implementer(wireprototypes.baseprotocolhandler) class httpv2protocolhandler(object):