Commit d7a0f314 authored by Eric S. Raymond's avatar Eric S. Raymond

Should resolve [ #416039 ] pstats browser crashes.

parent 6a7aa4e3
...@@ -576,12 +576,12 @@ if __name__ == '__main__': ...@@ -576,12 +576,12 @@ if __name__ == '__main__':
print "Add profile info from given file to current stastics object." print "Add profile info from given file to current stastics object."
def do_callees(self, line): def do_callees(self, line):
return self.generic('callees', line) return self.generic('print_callees', line)
def help_callees(self): def help_callees(self):
print "Print callees statistics from the current stat object." print "Print callees statistics from the current stat object."
def do_callers(self, line): def do_callers(self, line):
return self.generic('callers', line) return self.generic('print_callers', line)
def help_callers(self): def help_callers(self):
print "Print callers statistics from the current stat object." print "Print callers statistics from the current stat object."
...@@ -630,7 +630,7 @@ if __name__ == '__main__': ...@@ -630,7 +630,7 @@ if __name__ == '__main__':
print "Print statistics from the current stat object." print "Print statistics from the current stat object."
def do_strip(self, line): def do_strip(self, line):
self.stats.strip_order() self.stats.strip_dirs()
return 0 return 0
def help_strip(self): def help_strip(self):
print "Strip leading path information from filenames in the report." print "Strip leading path information from filenames in the report."
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment