[MERGE] An SMTPConnection class for bzrlib
Aaron Bentley
aaron.bentley at utoronto.ca
Wed Jun 20 01:19:46 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Adeodato Simó wrote:
>> I think it would make sense to just let the smtplib errors pass
>> through.
>
> I agree with John here, and don't think it's nice for the user to get a
> traceback if some step in the SMTP dialog fails.
Responsibility for preventing a traceback should be taken at a higher
level, not here.
> A single-line error
> would be nicer, IMHO. I'll go ahead and create an SMTPError class if you
> don't object, okay?
It's okay if you make it an internal error so that an unhandled one does
generate a traceback.
Aaoron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGeHKi0F+nu1YWqI0RAtxoAJ40DR33Si26Rgl4gU9pf7HEM3mmMQCeMV49
F8JBWO77y+2zQFofbHn89xo=
=qNu/
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list