projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b84d6ed
)
download: oops, NotEnoughHashesError comes from hashtree, not hashutil
author
Brian Warner
<warner@allmydata.com>
Wed, 18 Apr 2007 03:37:51 +0000
(20:37 -0700)
committer
Brian Warner
<warner@allmydata.com>
Wed, 18 Apr 2007 03:37:51 +0000
(20:37 -0700)
src/allmydata/download.py
patch
|
blob
|
history
diff --git
a/src/allmydata/download.py
b/src/allmydata/download.py
index ddc3678b7023db88bb58d236c1f036abc3097130..32f95388ecf9166b81c7aadefd9b4394fdf29db1 100644
(file)
--- 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 hash
util
.NotEnoughHashesError
+ raise hash
tree
.NotEnoughHashesError
sht.set_hashes(sh)
self._share_hash = sht.get_leaf(self.sharenum)