eric6/DebugClients/Python/PyProfile.py

changeset 8217
385f60c94548
parent 7923
91e843545d9a
child 8240
93b8a353c4bf
--- a/eric6/DebugClients/Python/PyProfile.py	Sat Apr 10 17:54:58 2021 +0200
+++ b/eric6/DebugClients/Python/PyProfile.py	Sat Apr 10 18:31:17 2021 +0200
@@ -143,12 +143,11 @@
         if self.cur and frame.f_back is not self.cur[-2]:
             rpt, rit, ret, rfn, rframe, rcur = self.cur
             if not isinstance(rframe, profile.Profile.fake_frame):
-                assert rframe.f_back is frame.f_back, ("Bad call", rfn,
-                # secok
-                                                       rframe, rframe.f_back,
-                                                       frame, frame.f_back)
+                assert rframe.f_back is frame.f_back, (             # secok
+                    "Bad call", rfn, rframe, rframe.f_back,
+                    frame, frame.f_back)
                 self.trace_dispatch_return(rframe, 0)
-                assert (self.cur is None or                            # secok
+                assert (self.cur is None or                         # secok
                         frame.f_back is self.cur[-2]), ("Bad call",
                                                         self.cur[-3])
         fcode = frame.f_code

eric ide

mercurial