From a0bc9993e77afc32660082a392f9af7fef428648 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Wed, 3 Oct 2001 21:12:32 +0000 Subject: [PATCH] Undo previous patch; it did not quite work out. --- Lib/profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/profile.py b/Lib/profile.py index b58af1ea800..91679052b23 100755 --- a/Lib/profile.py +++ b/Lib/profile.py @@ -241,7 +241,7 @@ def trace_dispatch_l(self, frame, event, arg): def trace_dispatch_exception(self, frame, t): rt, rtt, rct, rfn, rframe, rcur = self.cur - if (rframe is frame) and rcur: + if (rframe is not frame) and rcur: return self.trace_dispatch_return(rframe, t) return 0