eric6/Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py

changeset 7260
4cc6f121119a
parent 7229
53054eb5b15a
child 7360
9190402e4505
diff -r 7c017076c12e -r 4cc6f121119a eric6/Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py	Mon Sep 23 19:22:12 2019 +0200
+++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnLogBrowserDialog.py	Mon Sep 23 20:03:20 2019 +0200
@@ -14,8 +14,9 @@
 
 from PyQt5.QtCore import QMutexLocker, QDate, QRegExp, Qt, pyqtSlot, QPoint
 from PyQt5.QtGui import QCursor
-from PyQt5.QtWidgets import QHeaderView, QWidget, QApplication, \
-    QDialogButtonBox, QTreeWidgetItem
+from PyQt5.QtWidgets import (
+    QHeaderView, QWidget, QApplication, QDialogButtonBox, QTreeWidgetItem
+)
 
 from E5Gui import E5MessageBox
 
@@ -77,12 +78,11 @@
         self.__logTreeBoldFont.setBold(True)
         
         self.client = self.vcs.getClient()
-        self.client.callback_cancel = \
-            self._clientCancelCallback
-        self.client.callback_get_login = \
-            self._clientLoginCallback
-        self.client.callback_ssl_server_trust_prompt = \
+        self.client.callback_cancel = self._clientCancelCallback
+        self.client.callback_get_login = self._clientLoginCallback
+        self.client.callback_ssl_server_trust_prompt = (
             self._clientSslServerTrustPromptCallback
+        )
     
     def __initData(self):
         """
@@ -311,8 +311,10 @@
                     author, log["date"], message,
                     log["revision"], log['changed_paths'])
                 dt = dateFromTime_t(log["date"])
-                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:
@@ -582,8 +584,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)

eric ide

mercurial