From 445e9eaf37bbaeb942cc837f2ec1d2ace84318a2 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Wed, 24 Aug 2011 19:19:02 -0700 Subject: [PATCH] blacklist.py: add read() method too, for completeness --- src/allmydata/blacklist.py | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.45.2