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

login
register
mail settings
Submitter phabricator
Date Dec. 10, 2017, 2:51 a.m.
Message ID <56bce5d57d6672236c4bc58355fe493e@localhost.localdomain>
Download mbox | patch
Permalink /patch/26187/
State Not Applicable
Headers show

Comments

phabricator - Dec. 10, 2017, 2:51 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGc5853c9a6545: py3: handle keyword arguments correctly in statprof.py (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D1643?vs=4322&id=4334

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