Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
print_results(): Don't print the "Bad unpack" message; it's not
Browse files Browse the repository at this point in the history
    right.  Added a comment explaining what it represents in the
    function.
  • Loading branch information
freddrake committed May 29, 2002
1 parent a3fc530 commit 450e673
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/hs-tool.py
Expand Up @@ -26,8 +26,11 @@ def basename(path, cache={}):

def print_results(results):
for info, place in results:
if not place:
print 'Bad unpack:', info, place
if place is None:
# This is the startup time for the profiler, and only
# occurs at the very beginning. Just ignore it, since it
# corresponds to frame setup of the outermost call, not
# anything that's actually interesting.
continue
filename, line, funcname = place
print '%8d %8d' % info, basename(filename), line
Expand Down

0 comments on commit 450e673

Please sign in to comment.