[MERGE] An SMTPConnection class for bzrlib
aaron.bentley at utoronto.ca
Wed Jun 20 01:19:46 BST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Adeodato Simó wrote:
>> I think it would make sense to just let the smtplib errors pass
> 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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the bazaar