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:
f4de079
)
storageserver: ignore files in verifierdir whose filenames aren't of the right form...
author
Zooko O'Whielacronx
<zooko@zooko.com>
Wed, 18 Apr 2007 14:41:56 +0000
(07:41 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Wed, 18 Apr 2007 14:41:56 +0000
(07:41 -0700)
src/allmydata/storageserver.py
patch
|
blob
|
history
diff --git
a/src/allmydata/storageserver.py
b/src/allmydata/storageserver.py
index 5bab5e26bac793b0a702df769622549f823912f0..136c5dc56402e2ea88838f7ba6b0372f420697dd 100644
(file)
--- a/
src/allmydata/storageserver.py
+++ b/
src/allmydata/storageserver.py
@@
-129,8
+129,8
@@
class StorageServer(service.MultiService, Referenceable):
verifierdir = os.path.join(self.storedir, idlib.b2a(verifierid))
try:
for f in os.listdir(verifierdir):
- _assert(NUM_RE.match(f), f)
- bucketreaders[int(f)] = BucketReader(os.path.join(verifierdir, f))
+ if NUM_RE.match(f):
+
bucketreaders[int(f)] = BucketReader(os.path.join(verifierdir, f))
except OSError:
# Commonly caused by there being no buckets at all.
pass