[Twisted-Python] Twisted Sister

Jp Calderone exarkun at intarweb.us
Mon Feb 17 12:13:00 MST 2003


  Time and API changes seem to have taken their toll on twisted.sister. 
Currently, "mktap sister" fails with 

AttributeError: twisted.cred.authorizer.DefaultAuthorizer instance has no
accessor for: loadIdentity

  Obviously because DefaultAuthorizer doesn't provide loadIdentity -
TicketAuthorizer does.  I don't see any API for changing the authorizer of
an application, though.  A quick hack, setting app._authorizer =
TicketAuthorizer() at the beginning of sistap.py's updateApplication()
solves the problem, but this is probably the wrong approach.

  Does anyone know when or how the API sister relied on was changed, or have
any ideas about what should be done to fix it?

  Jp

-- 
 up 9 days, 0:28, 5 users, load average: 0.14, 0.09, 0.08
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: </pipermail/twisted-python/attachments/20030217/db030d64/attachment.sig>


More information about the Twisted-Python mailing list