From f9703da468c11e2226802d5e14d9c64ed7bf71ec Mon Sep 17 00:00:00 2001 From: Rob Kinninmont Date: Thu, 30 Nov 2006 20:49:07 -0700 Subject: [PATCH] fix another read_attr bug --- allmydata/bucketstore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/allmydata/bucketstore.py b/allmydata/bucketstore.py index f1b811ff..cbb56c16 100644 --- 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), 'wb') + f = file(os.path.join(self._bucket_dir, name), 'rb') data = f.read() f.close() return data -- 2.45.2