[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [flashproxy/master] Fix scope of SSLError.
commit df44d5a94ca30f836b06729580d4d1afec027e3d
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date: Wed Oct 9 13:13:48 2013 -0700
Fix scope of SSLError.
---
facilitator/facilitator-email-poller | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/facilitator/facilitator-email-poller b/facilitator/facilitator-email-poller
index bd70f34..49af526 100755
--- a/facilitator/facilitator-email-poller
+++ b/facilitator/facilitator-email-poller
@@ -406,7 +406,7 @@ while True:
try:
imap = imap_login()
imap_loop(imap)
- except (imaplib.IMAP4.abort, ssl.SSLError, M2Crypto.SSL.SSLError, socket.error), e:
+ except (imaplib.IMAP4.abort, ssl.SSLError, SSL.SSLError, socket.error), e:
# Try again after a disconnection.
log(u"lost server connection: %s" % str(e))
except KeyboardInterrupt:
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits