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:
977c6ac
)
immutable/filenode.py: add TODO note about the #514 monitor to check(), rather than...
author
Brian Warner
<warner@lothar.com>
Wed, 22 Oct 2008 08:42:37 +0000
(
01:42
-0700)
committer
Brian Warner
<warner@lothar.com>
Wed, 22 Oct 2008 08:42:37 +0000
(
01:42
-0700)
src/allmydata/immutable/filenode.py
patch
|
blob
|
history
diff --git
a/src/allmydata/immutable/filenode.py
b/src/allmydata/immutable/filenode.py
index 2d87a1f97b2eb7d37c92c9a7749d83f49de64292..bf06cb510d51caecde6b6ab577ab4f4d1d909d4d 100644
(file)
--- a/
src/allmydata/immutable/filenode.py
+++ b/
src/allmydata/immutable/filenode.py
@@
-56,6
+56,9
@@
class FileNode(ImmutableFileNode):
return self.u.storage_index
def check(self, monitor, verify=False):
+ # TODO: pass the Monitor to SimpleCHKFileChecker or
+ # SimpleCHKFileVerifier, have it call monitor.raise_if_cancelled()
+ # before sending each request.
storage_index = self.u.storage_index
k = self.u.needed_shares
N = self.u.total_shares