diff -r 3ead033becb8 -r c4b5f3393d63 eric6/Plugins/VcsPlugins/vcsSubversion/SvnLogBrowserDialog.py --- a/eric6/Plugins/VcsPlugins/vcsSubversion/SvnLogBrowserDialog.py Tue Sep 24 18:42:25 2019 +0200 +++ b/eric6/Plugins/VcsPlugins/vcsSubversion/SvnLogBrowserDialog.py Tue Sep 24 18:45:33 2019 +0200 @@ -10,11 +10,14 @@ import os -from PyQt5.QtCore import QTimer, QDate, QProcess, QRegExp, Qt, pyqtSlot, \ - QPoint +from PyQt5.QtCore import ( + QTimer, QDate, QProcess, QRegExp, Qt, pyqtSlot, QPoint +) from PyQt5.QtGui import QCursor -from PyQt5.QtWidgets import QHeaderView, QLineEdit, QWidget, QApplication, \ - QDialogButtonBox, QTreeWidgetItem +from PyQt5.QtWidgets import ( + QHeaderView, QLineEdit, QWidget, QApplication, QDialogButtonBox, + QTreeWidgetItem +) from E5Gui import E5MessageBox @@ -132,8 +135,10 @@ @param e close event (QCloseEvent) """ - if self.process is not None and \ - self.process.state() != QProcess.NotRunning: + if ( + self.process is not None and + self.process.state() != QProcess.NotRunning + ): self.process.terminate() QTimer.singleShot(2000, self.process.kill) self.process.waitForFinished(3000) @@ -355,8 +360,10 @@ Private slot called when the process finished or the user pressed the button. """ - if self.process is not None and \ - self.process.state() != QProcess.NotRunning: + if ( + self.process is not None and + self.process.state() != QProcess.NotRunning + ): self.process.terminate() QTimer.singleShot(2000, self.process.kill) self.process.waitForFinished(3000) @@ -417,8 +424,10 @@ log["author"], log["date"], log["message"], log["revision"], changedPaths) dt = QDate.fromString(log["date"], Qt.ISODate) - if not self.__maxDate.isValid() and \ - not self.__minDate.isValid(): + if ( + not self.__maxDate.isValid() and + not self.__minDate.isValid() + ): self.__maxDate = dt self.__minDate = dt else: @@ -669,8 +678,11 @@ currentItem = self.logTree.currentItem() for topIndex in range(self.logTree.topLevelItemCount()): topItem = self.logTree.topLevelItem(topIndex) - if topItem.text(2) <= to_ and topItem.text(2) >= from_ and \ - searchRx.indexIn(topItem.text(fieldIndex)) > -1: + if ( + topItem.text(2) <= to_ and + topItem.text(2) >= from_ and + searchRx.indexIn(topItem.text(fieldIndex)) > -1 + ): topItem.setHidden(False) if topItem is currentItem: self.on_logTree_currentItemChanged(topItem, None)