]> granicus.if.org Git - python/commitdiff
Undo previous patch; it did not quite work out.
authorFred Drake <fdrake@acm.org>
Wed, 3 Oct 2001 21:12:32 +0000 (21:12 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 3 Oct 2001 21:12:32 +0000 (21:12 +0000)
Lib/profile.py

index b58af1ea800611441e418e1667ad3fd30337abf8..91679052b2375481dd614403f9cc7c7b6594c603 100755 (executable)
@@ -241,7 +241,7 @@ class Profile:
 
     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