From: Rob Kinninmont Date: Fri, 1 Dec 2006 03:49:07 +0000 (-0700) Subject: fix another read_attr bug X-Git-Tag: tahoe_v0.1.0-0-UNSTABLE~509 X-Git-Url: https://git.rkrishnan.org/rgr-080307.php?a=commitdiff_plain;h=f9703da468c11e2226802d5e14d9c64ed7bf71ec;p=tahoe-lafs%2Ftahoe-lafs.git fix another read_attr bug --- 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