[spambayes-dev] Use of email factory function

Sjoerd Mullender sjoerd at acm.org
Fri Aug 6 08:20:47 CEST 2004


Tony Meyer wrote:
>>It doesn't work and I wonder how it can work in your 
>>environment.
> 
> 
> I did say I did limited testing.  The tests didn't raise any of the
> (incorrect) BadIMAPResponse exceptions, so they didn't cause problems.  I've
> fixed those, thanks.

There is still one except BadIMAPResponse: in folder_list.

>>Also, since in sb_imapfilter.py imap is no longer a global 
>>variable, the call to imap.close() in IMAPSession.SelectFolder()
>>causes a NameError exception.  Should that be self.close() instead?
> 
> 
> This one I missed because I don't expunge.  It should be
> self.imap_server.close(), and I've fixed this, too, thanks.

Is that so?  The call is in IMAPSession class, not in IMAPMessage where 
all other references to self.imap_server are.  I don't see where 
self.imap_server is initialized in the IMAPSession class.

-- 
Sjoerd Mullender <sjoerd at acm.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 374 bytes
Desc: OpenPGP digital signature
Url : http://mail.python.org/pipermail/spambayes-dev/attachments/20040806/a9aeae24/signature.pgp


More information about the spambayes-dev mailing list