hash_old_cross_reference given an existing hash value returns index value in existing array ie hash of hash_old_cross_reference[abc] == 2 if the hash value of object 2 is abc
(self)
| 2109 | return True |
| 2110 | |
| 2111 | def build_existing_hash_list(self): |
| 2112 | """ |
| 2113 | hash_old_cross_reference |
| 2114 | given an existing hash value returns index value in existing array |
| 2115 | ie hash of hash_old_cross_reference[abc] == 2 |
| 2116 | if the hash value of object 2 is abc |
| 2117 | |
| 2118 | """ |
| 2119 | if self.instance_list_existing is None: |
| 2120 | return |
| 2121 | |
| 2122 | self.hash_list = [] |
| 2123 | for index, item in enumerate(self.instance_list_existing): |
| 2124 | self.hash_list.append(item.hash) |
| 2125 | self.hash_old_cross_reference[item.hash] = index |
| 2126 | |
| 2127 | # Would be curious to have this as like a "log level" or something |
| 2128 |
no outgoing calls
no test coverage detected