mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
Remove an unused method and imports
This commit is contained in:
parent
cce6f83054
commit
cfe4b2925e
@ -11,8 +11,6 @@ from twisted.web.util import redirectTo
|
||||
|
||||
from hyperlink import DecodedURL, URL
|
||||
|
||||
from nevow import rend, tags as T
|
||||
from nevow.inevow import IRequest
|
||||
from twisted.web import static
|
||||
from nevow.util import resource_filename
|
||||
|
||||
@ -229,14 +227,6 @@ class Root(MultiFormatResource):
|
||||
|
||||
self.putChild("report_incident", IncidentReporter())
|
||||
|
||||
# until we get rid of nevow.Page in favour of twisted.web.resource
|
||||
# we can't use getChild() -- but we CAN use childFactory or
|
||||
# override locatechild
|
||||
def childFactory(self, ctx, name):
|
||||
request = IRequest(ctx)
|
||||
return self.getChild(name, request)
|
||||
|
||||
|
||||
def getChild(self, path, request):
|
||||
if path == "helper_status":
|
||||
# the Helper isn't attached until after the Tub starts, so this child
|
||||
|
Loading…
x
Reference in New Issue
Block a user