From: Brian Warner Date: Thu, 25 Aug 2011 02:19:02 +0000 (-0700) Subject: blacklist.py: add read() method too, for completeness X-Git-Tag: allmydata-tahoe-1.9.0a1~3 X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg/priv.html?a=commitdiff_plain;h=445e9eaf37bbaeb942cc837f2ec1d2ace84318a2;p=tahoe-lafs%2Ftahoe-lafs.git blacklist.py: add read() method too, for completeness --- diff --git a/src/allmydata/blacklist.py b/src/allmydata/blacklist.py index c13edf0d..9652c702 100644 --- a/src/allmydata/blacklist.py +++ b/src/allmydata/blacklist.py @@ -153,3 +153,6 @@ class ProhibitedNode: def get_writekey(self): raise FileProhibited(self.reason) + + def read(self, consumer, offset=0, size=None): + raise FileProhibited(self.reason)