On Oct 5, 2008, at 4:51 AM, Adam Groszer wrote:
> connection.sendmail(fromaddr, toaddrs, message)
> - except:
> + except socket.sslerror:
> + #something weird happened while quiting
This is better because it catches a _specific_ exception.
However, are we _certain_ that the socket is closed after this?
If not, I think we should close it explicitly instead of passing on it.
Thoughts, comments, anybody?
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -