diff mercurial/statprof.py @ 35379:c5853c9a6545

py3: handle keyword arguments correctly in statprof.py Differential Revision: https://phab.mercurial-scm.org/D1643
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 10 Dec 2017 04:49:29 +0530
parents bd872f64a8ba
children c8e8e14a5ee9
line wrap: on
line diff
--- 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