(self, hashId, reason="no reason specified")
| 59 | self.poissonTimeout()) |
| 60 | |
| 61 | def removeHash(self, hashId, reason="no reason specified"): |
| 62 | logging.debug("%s entering fluff mode due to %s.", ''.join('%02x'%ord(i) for i in hashId), reason) |
| 63 | with self.lock: |
| 64 | try: |
| 65 | del self.hashMap[hashId] |
| 66 | except KeyError: |
| 67 | pass |
| 68 | |
| 69 | def hasHash(self, hashId): |
| 70 | return hashId in self.hashMap |
no outgoing calls
no test coverage detected