# HG changeset patch # User Alex Gaynor # Date 1513282695 0 # Node ID c8e8e14a5ee9863e5b75ec47e270da296ee0a6a5 # Parent b1959391a088b95da5998405a85b3ece8c89b6aa statprof: remove a line of deadcode Differential Revision: https://phab.mercurial-scm.org/D1689 diff -r b1959391a088 -r c8e8e14a5ee9 mercurial/statprof.py --- a/mercurial/statprof.py Sun Oct 01 12:21:50 2017 +0100 +++ b/mercurial/statprof.py Thu Dec 14 20:18:15 2017 +0000 @@ -815,7 +815,6 @@ tos = sample.stack[0] name = tos.function path = simplifypath(tos.path) - category = '%s:%d' % (path, tos.lineno) stack = tuple((('%s:%d' % (simplifypath(frame.path), frame.lineno), frame.function) for frame in sample.stack)) qstack = collections.deque(stack)