From: Brian Warner Date: Fri, 17 Jul 2009 00:56:07 +0000 (-0500) Subject: interfaces: remove dead code, FileNode_ and EncryptedThing constraints X-Git-Tag: trac-4000~1 X-Git-Url: https://git.rkrishnan.org/pf/content?a=commitdiff_plain;h=8536db4e64b3eade65aeea3371d57f2b2d24fc5b;p=tahoe-lafs%2Ftahoe-lafs.git interfaces: remove dead code, FileNode_ and EncryptedThing constraints --- 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