--- a/eric6/Debugger/BreakPointViewer.py Sat Sep 21 13:03:17 2019 +0200 +++ b/eric6/Debugger/BreakPointViewer.py Sat Sep 21 13:37:58 2019 +0200 @@ -8,10 +8,12 @@ """ -from PyQt5.QtCore import pyqtSignal, Qt, QItemSelectionModel, \ - QSortFilterProxyModel, QFileInfo -from PyQt5.QtWidgets import QTreeView, QAbstractItemView, QHeaderView, QMenu, \ - QDialog +from PyQt5.QtCore import ( + pyqtSignal, Qt, QItemSelectionModel, QSortFilterProxyModel, QFileInfo +) +from PyQt5.QtWidgets import ( + QTreeView, QAbstractItemView, QHeaderView, QMenu, QDialog +) from E5Gui.E5Application import e5App @@ -167,15 +169,15 @@ self.backMenuActions = {} self.backMenu = QMenu() self.backMenu.addAction(self.tr("Add"), self.__addBreak) - self.backMenuActions["EnableAll"] = \ - self.backMenu.addAction(self.tr("Enable all"), - self.__enableAllBreaks) - self.backMenuActions["DisableAll"] = \ - self.backMenu.addAction(self.tr("Disable all"), - self.__disableAllBreaks) - self.backMenuActions["DeleteAll"] = \ - self.backMenu.addAction(self.tr("Delete all"), - self.__deleteAllBreaks) + self.backMenuActions["EnableAll"] = self.backMenu.addAction( + self.tr("Enable all"), + self.__enableAllBreaks) + self.backMenuActions["DisableAll"] = self.backMenu.addAction( + self.tr("Disable all"), + self.__disableAllBreaks) + self.backMenuActions["DeleteAll"] = self.backMenu.addAction( + self.tr("Delete all"), + self.__deleteAllBreaks) self.backMenu.aboutToShow.connect(self.__showBackMenu) self.backMenu.addSeparator() self.backMenu.addAction(self.tr("Configure..."), self.__configure) @@ -489,9 +491,8 @@ self.condHistory = [] rs = Preferences.Prefs.rsettings.value(recentNameBreakpointConditions) if rs is not None: - self.condHistory = \ - Preferences.toList(rs)[ - :Preferences.getDebugger("RecentNumber")] + self.condHistory = Preferences.toList(rs)[ + :Preferences.getDebugger("RecentNumber")] def __saveRecent(self): """