# HG changeset patch # User Gregory Szorc # Date 1537845462 25200 # Node ID 3ed53b071041b42758ea19a0a10a77ca093cff8a # Parent a6088d10d5f2e2e8a3676b4c44da04c472915ad7 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 diff -r a6088d10d5f2 -r 3ed53b071041 mercurial/wireprotov2server.py --- a/mercurial/wireprotov2server.py Mon Sep 24 20:10:01 2018 -0700 +++ b/mercurial/wireprotov2server.py Mon Sep 24 20:17:42 2018 -0700 @@ -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):