diff -r 8384553b1684 -r 08f28f58f863 mercurial/dispatch.py --- 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: