[PATCH] Re: Throw OfflineImapError when we try to request an inexistant message

Sebastian Spaeth Sebastian at SSpaeth.de
Fri Jun 24 15:45:06 BST 2011


Hi Nicolas,

On Sat, 18 Jun 2011 00:05:59 +0200, Nicolas Sebrecht <nicolas.s-dev at laposte.net> wrote:
> > Interdiff patch between v2 and v3 (we check for the existence of SSLError):
> > -   elif isinstance(e, SSLError) and e.errno == 1:
> > +   elif SSLError and isinstance(e, SSLError) and e.errno == 1:
> 
> Thanks, merged.

I know that Nicolas has merged v3 of this (it doesn't seem to be pushed
yet though). But I discovered that we now
not always have the variable "severity" available when we throw an
OfflineImapError. Here comes v4 that corrects this. Interpatch diff
attached. Sorry for not catching this in the first place.
-------------- 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/20110624/8d31fc12/attachment-0001.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: interpatch.diff
Type: text/x-diff
Size: 1236 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110624/8d31fc12/attachment-0003.diff>
-------------- next part --------------

Sebastian


More information about the OfflineIMAP-project mailing list