# HG changeset patch # User Gregory Szorc # Date 2019-01-25 22:38:49 # Node ID 56fcbac62f67d7e36adb3c4ff8a291d889c4608d # Parent f1b0d998882596e0a2fa7901f8ba99fa6c01856e wireprotov2server: use pycompat.strkwargs when calling cachekeyfn Differential Revision: https://phab.mercurial-scm.org/D5696 diff --git a/mercurial/wireprotov2server.py b/mercurial/wireprotov2server.py --- a/mercurial/wireprotov2server.py +++ b/mercurial/wireprotov2server.py @@ -390,7 +390,8 @@ def dispatch(repo, proto, command, redir return with cacher: - cachekey = entry.cachekeyfn(repo, proto, cacher, **args) + cachekey = entry.cachekeyfn(repo, proto, cacher, + **pycompat.strkwargs(args)) # No cache key or the cacher doesn't like it. Do default handling. if cachekey is None or not cacher.setcachekey(cachekey):