From: Brian Warner Date: Wed, 18 Apr 2007 03:37:51 +0000 (-0700) Subject: download: oops, NotEnoughHashesError comes from hashtree, not hashutil X-Git-Tag: tahoe_v0.1.0-0-UNSTABLE~70 X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg/priv.html?a=commitdiff_plain;h=b76aa1ce17e14c1ce63e8ebb8b1938205ba69a62;p=tahoe-lafs%2Ftahoe-lafs.git download: oops, NotEnoughHashesError comes from hashtree, not hashutil --- diff --git a/src/allmydata/download.py b/src/allmydata/download.py index ddc3678b..32f95388 100644 --- a/src/allmydata/download.py +++ b/src/allmydata/download.py @@ -91,7 +91,7 @@ class ValidatedBucket: sh[0] = self._roothash # always use our own root, from the URI sht = self.share_hash_tree if sht.get_leaf_index(self.sharenum) not in sh: - raise hashutil.NotEnoughHashesError + raise hashtree.NotEnoughHashesError sht.set_hashes(sh) self._share_hash = sht.get_leaf(self.sharenum)