176 db.commit() |
176 db.commit() |
177 |
177 |
178 def lookupFullHashes(self, hashValues): |
178 def lookupFullHashes(self, hashValues): |
179 """ |
179 """ |
180 Public method to get a list of threat lists and expiration flag |
180 Public method to get a list of threat lists and expiration flag |
181 for the given hashes if a hash is blacklisted. |
181 for the given hashes if a hash is on the block list. |
182 |
182 |
183 @param hashValues list of hash values to look up |
183 @param hashValues list of hash values to look up |
184 @type list of bytes |
184 @type list of bytes |
185 @return list of tuples containing the threat list info and the |
185 @return list of tuples containing the threat list info and the |
186 expiration flag |
186 expiration flag |