mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-07 19:04:21 +00:00
interfaces: remove dead code, FileNode_ and EncryptedThing constraints
This commit is contained in:
parent
d2d3bb2f80
commit
8536db4e64
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user