SafeBrowsingCache: flagged M513 reports as false positives

Mon, 12 Mar 2018 19:49:46 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 12 Mar 2018 19:49:46 +0100
changeset 6186
83451f10f3eb
parent 6185
7f00d906e653
child 6187
2cc7e3629784

SafeBrowsingCache: flagged M513 reports as false positives

WebBrowser/SafeBrowsing/SafeBrowsingCache.py file | annotate | diff | comparison | revisions
--- 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