improve comment wording

This commit is contained in:
meejah 2019-10-04 23:28:26 -06:00
parent c4f49bb377
commit 45bfe743d4

View File

@ -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