ci = ipaddr(ci_s)
desca['ci'] = ci
cl = clients[ci]
- if pw != cl.cc.password: raise ValueError('bad password')
+ if pw != cl.cc.secret: raise ValueError('bad secret')
desca['pwok']=True
if tro != cl.cc.target_requests_outstanding:
# why this is not the default is a mystery!
def getChild(self, name, request):
if name == b'': return self
- else: return twisted.web.resource.Resource.getChild(name, request)
+ else: return twisted.web.resource.Resource.getChild(self, name, request)
class IphttpResource(NotStupidResource):
def render_POST(self, request):