# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 2017-12-09 23:19:29 # Node ID c5853c9a65455cb1ffd51caf6bc116c509d5c9c9 # Parent c8ecd96cc357a2f08ad971403b211fcf8d391c03 py3: handle keyword arguments correctly in statprof.py Differential Revision: https://phab.mercurial-scm.org/D1643 diff --git a/mercurial/statprof.py b/mercurial/statprof.py --- a/mercurial/statprof.py +++ b/mercurial/statprof.py @@ -922,7 +922,7 @@ def main(argv=None): load_data(path=path) - display(**displayargs) + display(**pycompat.strkwargs(displayargs)) return 0