eric6/WebBrowser/SafeBrowsing/SafeBrowsingCache.py

changeset 7269
0c63ea7f94bd
parent 7229
53054eb5b15a
child 7360
9190402e4505
--- a/eric6/WebBrowser/SafeBrowsing/SafeBrowsingCache.py	Wed Sep 25 18:48:22 2019 +0200
+++ b/eric6/WebBrowser/SafeBrowsing/SafeBrowsingCache.py	Wed Sep 25 18:52:40 2019 +0200
@@ -16,8 +16,9 @@
 
 import os
 
-from PyQt5.QtCore import QObject, QByteArray, QCryptographicHash, \
-    QCoreApplication, QEventLoop
+from PyQt5.QtCore import (
+    QObject, QByteArray, QCryptographicHash, QCoreApplication, QEventLoop
+)
 from PyQt5.QtSql import QSql, QSqlDatabase, QSqlQuery
 
 from .SafeBrowsingThreatList import ThreatList
@@ -671,8 +672,9 @@
                 db.transaction()
                 try:
                     for index in range(0, len(prefixesToRemove), batchSize):
-                        removeBatch = \
-                            prefixesToRemove[index:(index + batchSize)]
+                        removeBatch = prefixesToRemove[
+                            index:(index + batchSize)
+                        ]
                         
                         query = QSqlQuery(db)
                         query.prepare(

eric ide

mercurial