mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 16:36:20 +00:00
improve comment wording
This commit is contained in:
parent
c4f49bb377
commit
45bfe743d4
@ -649,7 +649,7 @@ class DirectoryAsHTML(Element):
|
||||
"""
|
||||
Override Element.render .. we have async work to do before we flatten our template
|
||||
"""
|
||||
# this could be improved; doing a more-straightforward part
|
||||
# this could be improved; doing a more-straightforward port
|
||||
# here, which used to be in "beforeRender" .. so lots of the
|
||||
# renderers don't yield/wait properly, they expect the self.*
|
||||
# state that is set up here to "just be there" :/
|
||||
@ -657,8 +657,6 @@ class DirectoryAsHTML(Element):
|
||||
template = Element.render(self, request)
|
||||
defer.returnValue(template)
|
||||
|
||||
# XXX what's the -> twisted.web.template version of this.
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def _get_children(self, req):
|
||||
# attempt to get the dirnode's children, stashing them (or the
|
||||
|
Loading…
x
Reference in New Issue
Block a user