Show More
@@ -540,7 +540,11 b' def display_by_line(data, fp):' | |||
|
540 | 540 | |
|
541 | 541 | for stat in stats: |
|
542 | 542 | site = stat.site |
|
543 |
sitelabel = b'%s:%d:%s' % ( |
|
|
543 | sitelabel = b'%s:%d:%s' % ( | |
|
544 | site.filename(), | |
|
545 | site.lineno or -1, | |
|
546 | site.function, | |
|
547 | ) | |
|
544 | 548 | fp.write( |
|
545 | 549 | b'%6.2f %9.2f %9.2f %s\n' |
|
546 | 550 | % ( |
@@ -613,7 +617,7 b' def display_by_method(data, fp):' | |||
|
613 | 617 | stattuple = ( |
|
614 | 618 | stat.selfpercent(), |
|
615 | 619 | stat.selfseconds(), |
|
616 | stat.site.lineno, | |
|
620 | stat.site.lineno or -1, | |
|
617 | 621 | source, |
|
618 | 622 | ) |
|
619 | 623 |
General Comments 0
You need to be logged in to leave comments.
Login now