changeset 35354:08f28f58f863

py3: handle keyword arguments correctly in dispatch.py Differential Revision: https://phab.mercurial-scm.org/D1630
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 10 Dec 2017 04:46:13 +0530
parents 8384553b1684
children a119e97b6caf
files mercurial/dispatch.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/dispatch.py	Sun Dec 10 04:45:56 2017 +0530
+++ b/mercurial/dispatch.py	Sun Dec 10 04:46:13 2017 +0530
@@ -200,7 +200,8 @@
         req.ui.flush()
         if req.ui.logblockedtimes:
             req.ui._blockedtimes['command_duration'] = duration * 1000
-            req.ui.log('uiblocked', 'ui blocked ms', **req.ui._blockedtimes)
+            req.ui.log('uiblocked', 'ui blocked ms',
+                       **pycompat.strkwargs(req.ui._blockedtimes))
         req.ui.log("commandfinish", "%s exited %d after %0.2f seconds\n",
                    msg, ret or 0, duration)
         try: