D4732: py3: use pycompat.strkwargs()

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Tue Sep 25 09:02:00 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG3ed53b071041: py3: use pycompat.strkwargs() (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4732?vs=11342&id=11346

REVISION DETAIL
  https://phab.mercurial-scm.org/D4732

AFFECTED FILES
  mercurial/wireprotov2server.py

CHANGE DETAILS

diff --git a/mercurial/wireprotov2server.py b/mercurial/wireprotov2server.py
--- 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):



To: indygreg, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list