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:
877dfb4
)
fix another read_attr bug
author
Rob Kinninmont
<robk@allmydata.com>
Fri, 1 Dec 2006 03:49:07 +0000
(20:49 -0700)
committer
Rob Kinninmont
<robk@allmydata.com>
Fri, 1 Dec 2006 03:49:07 +0000
(20:49 -0700)
allmydata/bucketstore.py
patch
|
blob
|
history
diff --git
a/allmydata/bucketstore.py
b/allmydata/bucketstore.py
index f1b811ffc2dcb23c18194546b29a4cc7da74d087..cbb56c165355c45b31068aeec051ec271fca3da1 100644
(file)
--- a/
allmydata/bucketstore.py
+++ b/
allmydata/bucketstore.py
@@
-88,7
+88,7
@@
class Bucket:
f.close()
def _read_attr(self, name):
- f = file(os.path.join(self._bucket_dir, name), '
w
b')
+ f = file(os.path.join(self._bucket_dir, name), '
r
b')
data = f.read()
f.close()
return data