From 447642ae26ea03a46aa9a165c6dce94115b07830 Mon Sep 17 00:00:00 2001 From: Cameron Dale Date: Sat, 26 Apr 2008 10:01:08 -0700 Subject: [PATCH 1/1] Fix: no files were added to the DHT due to missing hashing results. --- apt_p2p/Hash.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apt_p2p/Hash.py b/apt_p2p/Hash.py index 021c84c..1a037ea 100644 --- a/apt_p2p/Hash.py +++ b/apt_p2p/Hash.py @@ -200,6 +200,7 @@ class HashObject: def verify(self): """Verify that the added file data hash matches the expected hash.""" + self.digest() if self.result is None and self.fileHash is not None and self.expHash is not None: self.result = (self.fileHash == self.expHash and self.size == self.expSize) return self.result -- 2.39.2