projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a39ee9
)
webish: handle PUTs to direct children of the root
author
Brian Warner
<warner@lothar.com>
Sat, 14 Jul 2007 02:31:52 +0000
(19:31 -0700)
committer
Brian Warner
<warner@lothar.com>
Sat, 14 Jul 2007 02:31:52 +0000
(19:31 -0700)
src/allmydata/webish.py
patch
|
blob
|
history
diff --git
a/src/allmydata/webish.py
b/src/allmydata/webish.py
index 402a2775374f4f7bf89e51883b212fd467727305..fc7bd4b1c883358c5af8fe24815c8dab5416fe67 100644
(file)
--- 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)