from allmydata import uri
from allmydata.interfaces import RIVirtualDriveServer, \
IDirectoryNode, IFileNode, IFileURI, IDirnodeURI, IURI, \
- BadWriteEnablerError
+ BadWriteEnablerError, NotMutableError
from allmydata.util import bencode, idlib, hashutil, fileutil
from allmydata.Crypto.Cipher import AES
# whereas ImmutableDirectoryNodes and their support mechanisms live on the
# client side
-class NotMutableError(Exception):
- pass
-
-
def create_directory_node(client, diruri):
u = IURI(diruri)
assert IDirnodeURI.providedBy(u)