diff --git a/Lib/profile.py b/Lib/profile.py index 30f4dd4f0db..ed77521607b 100755 --- a/Lib/profile.py +++ b/Lib/profile.py @@ -353,8 +353,7 @@ def simulate_call(self, name): else: pframe = None frame = self.fake_frame(code, pframe) - a = self.dispatch['call'](self, frame, 0) - return + self.dispatch['call'](self, frame, 0) # collect stats from pending stack, including getting final # timings for self.cmd frame. @@ -365,7 +364,7 @@ def simulate_cmd_complete(self): while self.cur[-1]: # We *can* cause assertion errors here if # dispatch_trace_return checks for a frame match! - a = self.dispatch['return'](self, self.cur[-2], t) + self.dispatch['return'](self, self.cur[-2], t) t = 0 self.t = get_time() - t