238 ok = True |
238 ok = True |
239 errorMessage = "" |
239 errorMessage = "" |
240 |
240 |
241 # step 1: remove expired hashes |
241 # step 1: remove expired hashes |
242 self.__cache.cleanupFullHashes() |
242 self.__cache.cleanupFullHashes() |
|
243 QCoreApplication.processEvents() |
243 |
244 |
244 # step 2: update threat lists |
245 # step 2: update threat lists |
245 threatListsForRemove = {} |
246 threatListsForRemove = {} |
246 for threatList, clientState in self.__cache.getThreatLists(): |
247 for threatList, clientState in self.__cache.getThreatLists(): |
247 threatListsForRemove[repr(threatList)] = threatList |
248 threatListsForRemove[repr(threatList)] = threatList |