eric6/DebugClients/Python/BreakpointWatch.py

branch
maintenance
changeset 7642
72721823d453
parent 7639
422fd05e9c91
child 7900
72b88fb20261
child 7924
8a96736d465e
--- a/eric6/DebugClients/Python/BreakpointWatch.py	Sun May 31 17:26:46 2020 +0200
+++ b/eric6/DebugClients/Python/BreakpointWatch.py	Sat Jul 04 11:45:34 2020 +0200
@@ -162,7 +162,7 @@
             # Ignore count applies only to those bpt hits where the
             # condition evaluates to true.
             try:
-                val = eval(b.cond, frame.f_globals, frame.f_locals)
+                val = eval(b.cond, frame.f_globals, frame.f_locals)     # secok
                 if val:
                     if b.ignore > 0:
                         b.ignore -= 1
@@ -295,6 +295,7 @@
                 continue
             try:
                 val = eval(b.compiledCond, frame.f_globals, frame.f_locals)
+                # secok
                 if b.created:
                     if frame in b.values:
                         continue
@@ -323,10 +324,6 @@
                         continue
                     else:
                         return (b, True)
-            except Exception:
+            except Exception:       # secok
                 continue
         return (None, False)
-
-
-#
-# eflag: noqa = M702

eric ide

mercurial