Patchwork D1643: py3: handle keyword arguments correctly in statprof.py

login
register
mail settings
Submitter phabricator
Date Dec. 10, 2017, 2:40 a.m.
Message ID <differential-rev-PHID-DREV-ep6vzc4wlavh6fa7g7kn-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/26177/
State Superseded
Headers show

Comments

phabricator - Dec. 10, 2017, 2:40 a.m.
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1643

AFFECTED FILES
  mercurial/statprof.py

CHANGE DETAILS




To: pulkit, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/statprof.py b/mercurial/statprof.py
--- a/mercurial/statprof.py
+++ b/mercurial/statprof.py
@@ -922,7 +922,7 @@ 
 
     load_data(path=path)
 
-    display(**displayargs)
+    display(**pycompat.strkwargs(displayargs))
 
     return 0