From patchwork Thu Dec 14 20:54:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D1689: statprof: remove a line of deadcode From: phabricator X-Patchwork-Id: 26285 Message-Id: <789b19a123d463ad08921b347b68e686@localhost.localdomain> To: mercurial-devel@mercurial-scm.org Date: Thu, 14 Dec 2017 20:54:50 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHGc8e8e14a5ee9: statprof: remove a line of deadcode (authored by alex_gaynor, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1689?vs=4436&id=4437 REVISION DETAIL https://phab.mercurial-scm.org/D1689 AFFECTED FILES mercurial/statprof.py CHANGE DETAILS To: alex_gaynor, durin42, #hg-reviewers, quark Cc: mercurial-devel diff --git a/mercurial/statprof.py b/mercurial/statprof.py --- a/mercurial/statprof.py +++ b/mercurial/statprof.py @@ -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)