interfaces: remove dead code, FileNode_ and EncryptedThing constraints

This commit is contained in:
Brian Warner 2009-07-16 19:56:07 -05:00
parent d2d3bb2f80
commit 8536db4e64

View File

@ -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