From 8536db4e64b3eade65aeea3371d57f2b2d24fc5b Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 16 Jul 2009 19:56:07 -0500 Subject: [PATCH] interfaces: remove dead code, FileNode_ and EncryptedThing constraints --- src/allmydata/interfaces.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/allmydata/interfaces.py b/src/allmydata/interfaces.py index 6a9672e9..e2df3305 100644 --- 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 -- 2.45.2