eric6/WebBrowser/FlashCookieManager/FlashCookieManagerDialog.py

changeset 7268
a28338eaf694
parent 7229
53054eb5b15a
child 7360
9190402e4505
diff -r aedc309827c7 -r a28338eaf694 eric6/WebBrowser/FlashCookieManager/FlashCookieManagerDialog.py
--- a/eric6/WebBrowser/FlashCookieManager/FlashCookieManagerDialog.py	Wed Sep 25 18:37:35 2019 +0200
+++ b/eric6/WebBrowser/FlashCookieManager/FlashCookieManagerDialog.py	Wed Sep 25 18:48:22 2019 +0200
@@ -9,8 +9,9 @@
 
 
 from PyQt5.QtCore import pyqtSlot, Qt, QPoint, QTimer
-from PyQt5.QtWidgets import QDialog, QTreeWidgetItem, QApplication, QMenu, \
-    QInputDialog, QLineEdit
+from PyQt5.QtWidgets import (
+    QDialog, QTreeWidgetItem, QApplication, QMenu, QInputDialog, QLineEdit
+)
 
 from E5Gui import E5MessageBox
 
@@ -164,8 +165,10 @@
             # show matching in expanded state
             filterStr = filterStr.lower()
             for index in range(self.cookiesList.topLevelItemCount()):
-                txt = "." + self.cookiesList.topLevelItem(index)\
-                    .text(0).lower()
+                txt = (
+                    "." +
+                    self.cookiesList.topLevelItem(index).text(0).lower()
+                )
                 self.cookiesList.topLevelItem(index).setHidden(
                     filterStr not in txt)
                 self.cookiesList.topLevelItem(index).setExpanded(True)
@@ -362,8 +365,9 @@
                     "/macromedia.com/support/flashplayer/sys"):
                 suffix = self.tr(" (settings)")
             
-            if cookie.path + "/" + cookie.name in \
-                    self.__manager.newCookiesList():
+            if cookie.path + "/" + cookie.name in (
+                self.__manager.newCookiesList()
+            ):
                 suffix += self.tr(" [new]")
                 font = itm.font(0)
                 font.setBold(True)

eric ide

mercurial