Skip to content
Snippets Groups Projects
Commit 08f28f58 authored by Pulkit Goyal's avatar Pulkit Goyal
Browse files

py3: handle keyword arguments correctly in dispatch.py

Differential Revision: https://phab.mercurial-scm.org/D1630
parent 8384553b
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment