[Twisted-Python] Re: IMAP fixes

Tony Meyer ta-meyer at ihug.co.nz
Wed Jul 9 00:17:19 MDT 2003


> Further from my own message, attached is a slightly improved 
> version that expands the macros so that the user doesn't need 
> to know about them.

Third time lucky!  Both snippets of code I posted need one little change -
the return from fetch-att should be "return (query, '')" rather than simply
"return query" (pays to check the code first!).

The flaw as it stands, of course, is that whoever receives these atts has to
put them back together as they were so that the reply is correctly
formatted.  I suppose the correct action there is to also change the
__cbFetch function, but I'll leave this until I get some confirmation that
this is the right sort of thing.

=Tony Meyer





More information about the Twisted-Python mailing list