mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-18 18:56:28 +00:00
make '/operations' work again
This commit is contained in:
parent
9d4ba78302
commit
217e32e385
@ -156,7 +156,10 @@ class Root(MultiFormatPage):
|
||||
self.client = client
|
||||
# If set, clock is a twisted.internet.task.Clock that the tests
|
||||
# use to test ophandle expiration.
|
||||
self.putChild("operations", operations.OphandleTable(clock))
|
||||
self.child_operations = operations.OphandleTable(clock)
|
||||
self.putChild("operations", self.child_operations)
|
||||
# XXX get rid of self.child_operations entirely when we remove the .remember() usage in webish
|
||||
|
||||
self.now_fn = now_fn
|
||||
try:
|
||||
s = client.getServiceNamed("storage")
|
||||
|
@ -166,7 +166,7 @@ class WebishServer(service.MultiService):
|
||||
self.buildServer(webport, nodeurl_path, staticdir)
|
||||
|
||||
# XXX FIXME what does this really do?
|
||||
if False and self.root.child_operations:
|
||||
if self.root.child_operations:
|
||||
self.site.remember(self.root.child_operations, IOpHandleTable)
|
||||
self.root.child_operations.setServiceParent(self)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user