[Checkins] SVN: zope.sendmail/trunk/src/zope/sendmail/mailer.py try again with catching sslerror, thx Jens
Adam Groszer
agroszer at gmail.com
Sun Oct 5 04:51:01 EDT 2008
Log message for revision 91772:
try again with catching sslerror, thx Jens
Changed:
U zope.sendmail/trunk/src/zope/sendmail/mailer.py
-=-
Modified: zope.sendmail/trunk/src/zope/sendmail/mailer.py
===================================================================
--- zope.sendmail/trunk/src/zope/sendmail/mailer.py 2008-10-05 06:46:21 UTC (rev 91771)
+++ zope.sendmail/trunk/src/zope/sendmail/mailer.py 2008-10-05 08:50:59 UTC (rev 91772)
@@ -72,5 +72,6 @@
connection.sendmail(fromaddr, toaddrs, message)
try:
connection.quit()
- except:
+ except socket.sslerror:
+ #something weird happened while quiting
pass
More information about the Checkins
mailing list