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:
d2d3bb2
)
interfaces: remove dead code, FileNode_ and EncryptedThing constraints
author
Brian Warner
<warner@lothar.com>
Fri, 17 Jul 2009 00:56:07 +0000
(19:56 -0500)
committer
Brian Warner
<warner@lothar.com>
Fri, 17 Jul 2009 22:11:39 +0000
(17:11 -0500)
src/allmydata/interfaces.py
patch
|
blob
|
history
diff --git
a/src/allmydata/interfaces.py
b/src/allmydata/interfaces.py
index 6a9672e9953e57aacedd888b235a15866d6da886..e2df33051a54802edd927efef658b0217bfea936 100644
(file)
--- a/
src/allmydata/interfaces.py
+++ b/
src/allmydata/interfaces.py
@@
-411,12
+411,6
@@
class IStorageBroker(Interface):
"""
-# hm, we need a solution for forward references in schemas
-FileNode_ = Any() # TODO: foolscap needs constraints on copyables
-DirectoryNode_ = Any() # TODO: same
-AnyNode_ = ChoiceOf(FileNode_, DirectoryNode_)
-EncryptedThing = str
-
class IURI(Interface):
def init_from_string(uri):
"""Accept a string (as created by my to_string() method) and populate