(self, hash)
| 19 | return storage |
| 20 | |
| 21 | def appendHash(self, hash): |
| 22 | hash_id = int(hash[0:4], 16) |
| 23 | if hash_id not in self.storage: |
| 24 | self.storage.append(hash_id) |
| 25 | self.time_changed = time.time() |
| 26 | return True |
| 27 | else: |
| 28 | return False |
| 29 | |
| 30 | def appendHashId(self, hash_id): |
| 31 | if hash_id not in self.storage: |
no outgoing calls