[PATCH 1/2] Re: Throw errors on connection refused and on non-standard SSH ports

Sebastian Spaeth Sebastian at SSpaeth.de
Mon Jun 6 10:03:48 BST 2011


On Mon, 9 May 2011 19:11:24 +0200, Nicolas Sebrecht wrote:
> > Ohh, I see. python<2.6 :-( I am not sure what we can or want to do here
> > then. We can simply disabling these SSL error messages on python < 2.6
> > but it feels somewhat hacky.
> 
> It's OK to me like this. I'm guessing a LOT of users still rely on
> python2.5.

OK, I will now send a version that protects us against python 2.5 ssl
import errors. We will just not output SSL related error messages in
this case.

BTW, this patch also protects against the 111 connection refused as a
side-effect, so I am not sure if the other patch is absoutely required
that Nicolas created some time ago (but will also not hurt to have it).

Interdiff patch from v1 to v2 attached:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110606/e2406208/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: interpatch.diff
Type: text/x-diff
Size: 1191 bytes
Desc: v1 to v2 differences
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110606/e2406208/attachment-0002.diff>
-------------- next part --------------

Sebastian


More information about the OfflineIMAP-project mailing list