interfaces.py: fix arguments to create_subdirectory. 2406.otf-objective-2.5
authorDaira Hopwood <daira@jacaranda.org>
Tue, 28 Apr 2015 22:35:06 +0000 (23:35 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Tue, 28 Apr 2015 22:35:06 +0000 (23:35 +0100)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/interfaces.py

index 4ec5a0e6ce5deef32c00c0bae1dc7f394f0297d9..ded8ffb2a4798e0c719e00076f5d80fc156f761e 100644 (file)
@@ -1291,7 +1291,8 @@ class IDirectoryNode(IFilesystemNode):
         is a file, or if must_be_file is True and the child is a directory,
         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
         directory can be empty, or it can be populated with children
         according to 'initial_children', which takes a dictionary in the same