]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - src/allmydata/frontends/sftpd.py
replace dirnode.create_empty_directory() with create_subdirectory(), which
[tahoe-lafs/tahoe-lafs.git] / src / allmydata / frontends / sftpd.py
index aa15bbba7db5f1f66974a0fdbd7155d769a8600f..5a713e1c34d06fd0f40be091a3ec611574b65886 100644 (file)
@@ -242,7 +242,7 @@ class SFTPHandler:
         d = node.get(path[0])
         def _maybe_create(f):
             f.trap(NoSuchChildError)
-            return node.create_empty_directory(path[0])
+            return node.create_subdirectory(path[0])
         d.addErrback(_maybe_create)
         d.addCallback(self._get_or_create_directories, path[1:])
         return d