projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d7a326
)
blacklist.py: add read() method too, for completeness
author
Brian Warner
<warner@lothar.com>
Thu, 25 Aug 2011 02:19:02 +0000
(19:19 -0700)
committer
Brian Warner
<warner@lothar.com>
Thu, 25 Aug 2011 02:19:02 +0000
(19:19 -0700)
src/allmydata/blacklist.py
patch
|
blob
|
history
diff --git
a/src/allmydata/blacklist.py
b/src/allmydata/blacklist.py
index c13edf0db2695812125d854537974e5dc32f6a11..9652c7025f1d7b2af4abb8413f56a41454ca9ceb 100644
(file)
--- 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)