]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
webish.py: handle asynchronous checker results.
authorBrian Warner <warner@allmydata.com>
Wed, 31 Oct 2007 00:00:37 +0000 (17:00 -0700)
committerBrian Warner <warner@allmydata.com>
Wed, 31 Oct 2007 00:00:37 +0000 (17:00 -0700)
commitb257f905a0595de21052cba82c7dd22c8f5d45e2
tree19d9b649ddd0a1d8be7004539a0de812407edfbe
parent9b92bff51ced467d5bae925b64a4ca14aa3b6e2d
webish.py: handle asynchronous checker results.
Thanks to robk for pointing out that Nevow will accept a Deferred almost
everywhere. In this case, we just pass a Deferred into ctx.fillSlots(). One
quirk: nevow doesn't evaluate all rows of the table in parallel: using a slow
Deferred in a slot in one row seems to stall the next row until that one has
fired, probably to simplify the flattening of the HTML.
src/allmydata/webish.py