mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-21 13:57:51 +00:00
Just talk about rendering, not Nevow
This commit is contained in:
parent
6500f742dc
commit
7eecf51dc5
@ -398,8 +398,8 @@ class DirectoryNodeHandler(ReplaceMeMixin, Resource, object):
|
|||||||
d.addBoth(_maybe_got_node)
|
d.addBoth(_maybe_got_node)
|
||||||
# now we have a placeholder or a filenodehandler, and we can just
|
# now we have a placeholder or a filenodehandler, and we can just
|
||||||
# delegate to it. We could return the resource back out of
|
# delegate to it. We could return the resource back out of
|
||||||
# DirectoryNodeHandler.renderHTTP, and nevow would recurse into it,
|
# DirectoryNodeHandler.render_POST and it would get rendered but the
|
||||||
# but the addCallback() that handles when_done= would break.
|
# addCallback() that handles when_done= would break.
|
||||||
def render_child(child):
|
def render_child(child):
|
||||||
req.dont_apply_extra_processing = True
|
req.dont_apply_extra_processing = True
|
||||||
return child.render(req)
|
return child.render(req)
|
||||||
|
Loading…
Reference in New Issue
Block a user