On Jan 19, 2011, at 8:10 PM, Saúl Ibarra Corretgé wrote:

I fixed it by doing the following:

   def _got_keys_error(self, error, credentials):
       if not error.check(ValidPublicKey):
           return failure.Failure(ConchError(error.getErrorMessage()))

Are you sure that's what you want?  If you just say "I don't want to handle anything except FooError", i.e. the asynchronous equivalent to "except FooError", it's like this:

def myErrback(self, f):
    f.trap(FooError)
    # ... handle it ...