mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-25 11:12:42 +00:00
children must be None on error
This commit is contained in:
parent
543a948d32
commit
c4f49bb377
@ -667,9 +667,8 @@ class DirectoryAsHTML(Element):
|
||||
children = yield self.node.list()
|
||||
except Exception as e:
|
||||
text, code = humanize_failure(Failure(e))
|
||||
self.dirnode_children = None
|
||||
children = None
|
||||
self.dirnode_children_error = text
|
||||
children = {}
|
||||
|
||||
# XXX there was a big comment here about tail-recursion etc
|
||||
# .. do we need to yield sometimes in this loop, or ..? (I'm
|
||||
|
Loading…
x
Reference in New Issue
Block a user