src/eric7/WebBrowser/SafeBrowsing/SafeBrowsingManager.py

branch
eric7
changeset 10503
6a37b6ac3928
parent 10439
21c28b0f9e41
child 10926
9ef616cd220d
equal deleted inserted replaced
10502:89b8e0a67fde 10503:6a37b6ac3928
450 450
451 # if none matches, url hash is clear 451 # if none matches, url hash is clear
452 if not isPotentialThreat: 452 if not isPotentialThreat:
453 return [] 453 return []
454 454
455 # if there is non-expired full hash, URL is blacklisted 455 # if there is non-expired full hash, URL is blocked
456 matchingExpiredThreatLists = set() 456 matchingExpiredThreatLists = set()
457 for threatList, hasExpired in self.__cache.lookupFullHashes(matchingFullHashes): 457 for threatList, hasExpired in self.__cache.lookupFullHashes(matchingFullHashes):
458 if hasExpired: 458 if hasExpired:
459 matchingExpiredThreatLists.add(threatList) 459 matchingExpiredThreatLists.add(threatList)
460 else: 460 else:

eric ide

mercurial