interfaces.py: fix arguments to create_subdirectory.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2015-04-28 23:35:06 +01:00
parent ddad30a961
commit 7e48118ed9
1 changed files with 2 additions and 1 deletions

View File

@ -1291,7 +1291,8 @@ class IDirectoryNode(IFilesystemNode):
is a file, or if must_be_file is True and the child is a directory, is a file, or if must_be_file is True and the child is a directory,
I raise ChildOfWrongTypeError.""" I raise ChildOfWrongTypeError."""
def create_subdirectory(name, initial_children={}, overwrite=True, metadata=None): def create_subdirectory(name, initial_children={}, overwrite=True,
mutable=True, mutable_version=None, metadata=None):
"""I create and attach a directory at the given name. The new """I create and attach a directory at the given name. The new
directory can be empty, or it can be populated with children directory can be empty, or it can be populated with children
according to 'initial_children', which takes a dictionary in the same according to 'initial_children', which takes a dictionary in the same