eric6/Debugger/DebugUI.py

changeset 8222
5994b80b8760
parent 8218
7c09585bd960
child 8230
8b5c6896655b
diff -r 0572a215bd2f -r 5994b80b8760 eric6/Debugger/DebugUI.py
--- a/eric6/Debugger/DebugUI.py	Sun Apr 11 16:53:48 2021 +0200
+++ b/eric6/Debugger/DebugUI.py	Sun Apr 11 18:45:10 2021 +0200
@@ -1310,9 +1310,11 @@
                 self.ui.setDebugProfile()
                 self.debugActGrp.setEnabled(True)
                 return
-            elif res == E5MessageBox.Ignore:
-                if exceptionType not in self.excIgnoreList:
-                    self.excIgnoreList.append(exceptionType)
+            elif (
+                res == E5MessageBox.Ignore and
+                exceptionType not in self.excIgnoreList
+            ):
+                self.excIgnoreList.append(exceptionType)
         
         if self.lastAction != -1:
             if self.lastAction == 2:

eric ide

mercurial