mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-09 03:44:23 +00:00
webish: handle PUTs to direct children of the root
This commit is contained in:
parent
8a39ee9034
commit
a290205ade
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user