py3: handle keyword arguments correctly in dispatch.py
Differential Revision: https://phab.mercurial-scm.org/D1630
--- 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: