# HG changeset patch # User Gregory Szorc # Date 2016-01-02 19:40:53 # Node ID b1a59b80e1a370e331e597edd4b8a97d637f3c3c # Parent 0765d8423fbcc4294a5d0fe4002a4244902aa14a lsprof: use print function diff --git a/mercurial/lsprof.py b/mercurial/lsprof.py --- a/mercurial/lsprof.py +++ b/mercurial/lsprof.py @@ -1,4 +1,4 @@ -from __future__ import absolute_import +from __future__ import absolute_import, print_function import _lsprof import sys @@ -113,7 +113,7 @@ if __name__ == '__main__': import os sys.argv = sys.argv[1:] if not sys.argv: - print >> sys.stderr, "usage: lsprof.py