localrepo: add some overlooked strkwargs love for py3
authorAugie Fackler <augie@google.com>
Fri, 13 Apr 2018 18:28:58 -0400
changeset 37670 719b8cb22936
parent 37669 1cb54e6193a6
child 37671 726a95a57eeb
localrepo: add some overlooked strkwargs love for py3 Differential Revision: https://phab.mercurial-scm.org/D3337
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Fri Apr 13 18:17:45 2018 -0400
+++ b/mercurial/localrepo.py	Fri Apr 13 18:28:58 2018 -0400
@@ -182,7 +182,7 @@
         f = pycompat.futures.Future()
 
         try:
-            result = fn(**args)
+            result = fn(**pycompat.strkwargs(args))
         except Exception:
             pycompat.future_set_exception_info(f, sys.exc_info()[1:])
         else: