From a290205ade6beaae7aeab4a173e8529c65778d48 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Fri, 13 Jul 2007 19:31:52 -0700 Subject: [PATCH] webish: handle PUTs to direct children of the root --- src/allmydata/webish.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/webish.py b/src/allmydata/webish.py index 402a2775..fc7bd4b1 100644 --- a/src/allmydata/webish.py +++ b/src/allmydata/webish.py @@ -624,7 +624,7 @@ class PUTHandler(rend.Page): if not IDirectoryNode.providedBy(node): raise BlockingFileError if not path: - return node + return defer.succeed(node) d = node.get(path[0]) def _maybe_create(f): f.trap(KeyError) -- 2.45.2