WebBrowser/SafeBrowsing/SafeBrowsingCache.py

changeset 6186
83451f10f3eb
parent 6048
82ad8ec9548c
child 6229
72b40274a3b6
diff -r 7f00d906e653 -r 83451f10f3eb WebBrowser/SafeBrowsing/SafeBrowsingCache.py
--- a/WebBrowser/SafeBrowsing/SafeBrowsingCache.py	Mon Mar 12 19:42:07 2018 +0100
+++ b/WebBrowser/SafeBrowsing/SafeBrowsingCache.py	Mon Mar 12 19:49:46 2018 +0100
@@ -293,7 +293,7 @@
                 
                 query.exec_()
                 
-                while query.next():
+                while query.next():             # __IGNORE_WARNING_M513__
                     threatType = query.value(0)
                     platformType = query.value(1)
                     threatEntryType = query.value(2)
@@ -338,7 +338,7 @@
                 
                 query.exec_()
                 
-                while query.next():
+                while query.next():             # __IGNORE_WARNING_M513__
                     fullHash = bytes(query.value(0))
                     threatType = query.value(1)
                     platformType = query.value(2)
@@ -518,7 +518,7 @@
                 
                 query.exec_()
                 
-                while query.next():
+                while query.next():             # __IGNORE_WARNING_M513__
                     threatType = query.value(0)
                     platformType = query.value(1)
                     threatEntryType = query.value(2)
@@ -646,7 +646,7 @@
                 
                 query.exec_()
                 
-                while query.next():
+                while query.next():             # __IGNORE_WARNING_M513__
                     sha256Hash.addData(query.value(0))
                     QCoreApplication.processEvents(QEventLoop.AllEvents,
                                                    self.maxProcessEventsTime)
@@ -727,7 +727,7 @@
                 query.exec_()
                 
                 index = 0
-                while query.next():
+                while query.next():         # __IGNORE_WARNING_M513__
                     if index in indexes:
                         prefix = bytes(query.value(0))
                         output.append(prefix)

eric ide

mercurial