]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
blacklist.py: add read() method too, for completeness
authorBrian Warner <warner@lothar.com>
Thu, 25 Aug 2011 02:19:02 +0000 (19:19 -0700)
committerBrian Warner <warner@lothar.com>
Thu, 25 Aug 2011 02:19:02 +0000 (19:19 -0700)
src/allmydata/blacklist.py

index c13edf0db2695812125d854537974e5dc32f6a11..9652c7025f1d7b2af4abb8413f56a41454ca9ceb 100644 (file)
@@ -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)