You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Finding.save is called once from serializers.py with dedupe_option=False because the finding is not ready yet, for example the endpoints are not built
3490
3491
# It is then called a second time with dedupe_option defaulted to true; now we can compute the hash_code and run the deduplication
3491
3492
elifdedupe_option:
3492
3493
ifself.hash_codeisnotNone:
3493
-
deduplicationLogger.debug("Hash_code already computed for finding")
3494
+
deduplicationLogger.debug("Hash_code already computed for finding %i", self.id)
3494
3495
else:
3495
3496
self.hash_code=self.compute_hash_code()
3496
-
deduplicationLogger.debug("Hash_code computed for finding: %s", self.hash_code)
3497
+
deduplicationLogger.debug("Hash_code computed for finding %i: %s", self.id, self.hash_code)
0 commit comments