Mercurial > hg > mercurial-source
comparison mercurial/statprof.py @ 36153: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 (2017-12-09) |
parents | bd872f64a8ba |
children | c8e8e14a5ee9 |
comparison
equal
deleted
inserted
replaced
36152:c8ecd96cc357 | 36153:c5853c9a6545 |
---|---|
920 print('must specify --file to load') | 920 print('must specify --file to load') |
921 return 1 | 921 return 1 |
922 | 922 |
923 load_data(path=path) | 923 load_data(path=path) |
924 | 924 |
925 display(**displayargs) | 925 display(**pycompat.strkwargs(displayargs)) |
926 | 926 |
927 return 0 | 927 return 0 |
928 | 928 |
929 if __name__ == "__main__": | 929 if __name__ == "__main__": |
930 sys.exit(main()) | 930 sys.exit(main()) |