From: Daira Hopwood <daira@jacaranda.org>
Date: Tue, 28 Apr 2015 22:35:06 +0000 (+0100)
Subject: interfaces.py: fix arguments to create_subdirectory.
X-Git-Tag: allmydata-tahoe-1.10.1a1~6
X-Git-Url: https://git.rkrishnan.org/specifications/%5B/%5D%20/FOOURL?a=commitdiff_plain;h=f973657a6a1280c9b90f3fa48ea042ced7e9ac6c;p=tahoe-lafs%2Ftahoe-lafs.git

interfaces.py: fix arguments to create_subdirectory.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
---

diff --git a/src/allmydata/interfaces.py b/src/allmydata/interfaces.py
index 4ec5a0e6..ded8ffb2 100644
--- a/src/allmydata/interfaces.py
+++ b/src/allmydata/interfaces.py
@@ -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