py3: handle keyword arguments correctly in statprof.py
authorPulkit Goyal <7895pulkit@gmail.com>
Sun, 10 Dec 2017 04:49:29 +0530
changeset 35370 c5853c9a6545
parent 35369 c8ecd96cc357
child 35371 c999d246e48c
py3: handle keyword arguments correctly in statprof.py Differential Revision: https://phab.mercurial-scm.org/D1643
mercurial/statprof.py
--- a/mercurial/statprof.py	Sun Dec 10 04:48:59 2017 +0530
+++ b/mercurial/statprof.py	Sun Dec 10 04:49:29 2017 +0530
@@ -922,7 +922,7 @@
 
     load_data(path=path)
 
-    display(**displayargs)
+    display(**pycompat.strkwargs(displayargs))
 
     return 0