mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-21 13:57:51 +00:00
Second version of renderSynchronously
This commit is contained in:
parent
d3790a4d42
commit
c019c7e955
@ -310,7 +310,7 @@ class StorageStatus(MultiFormatResource):
|
|||||||
elem = StorageStatusElement(self.storage, self.nickname)
|
elem = StorageStatusElement(self.storage, self.nickname)
|
||||||
result = []
|
result = []
|
||||||
flattenString(None, elem).addCallback(result.append)
|
flattenString(None, elem).addCallback(result.append)
|
||||||
return result
|
return result[0]
|
||||||
|
|
||||||
def renderHTTP(self, ctx=None):
|
def renderHTTP(self, ctx=None):
|
||||||
# to appease the test suite.
|
# to appease the test suite.
|
||||||
|
Loading…
Reference in New Issue
Block a user