wireprotov2server: use pycompat.strkwargs when calling cachekeyfn
authorGregory Szorc <gregory.szorc@gmail.com>
Fri, 25 Jan 2019 14:38:49 -0800
changeset 41376 56fcbac62f67
parent 41375 f1b0d9988825
child 41377 e053053ceba7
wireprotov2server: use pycompat.strkwargs when calling cachekeyfn Differential Revision: https://phab.mercurial-scm.org/D5696
mercurial/wireprotov2server.py
--- a/mercurial/wireprotov2server.py	Thu Jan 17 18:05:54 2019 +0530
+++ b/mercurial/wireprotov2server.py	Fri Jan 25 14:38:49 2019 -0800
@@ -390,7 +390,8 @@
         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):