[PATCH 0/6] Re: Readd idle again

Ethan Glasser-Camp glasse at cs.rpi.edu
Thu May 19 20:49:50 BST 2011


On 05/19/2011 03:35 PM, Nicolas Sebrecht wrote:
> I'm missing the interdiff. I created it this time:

How do I do that?

> @@ -422,11 +422,14 @@ class IdleThread(object):
>               if "IDLE" in imapobj.capabilities:
>                   imapobj.idle(callback=callback)
>               else:
> +                self.ui = getglobalui()
> +                ui.warn("IMAP IDLE not supported on connection to %s; falling back to no-op"
> +                        %(imapobj.identifier,))

Oops, that should be "ui = ..." in the first line.  I wasn't able to 
test against an IMAP server without IDLE :)  I'll generate another one..

Ethan





More information about the OfflineIMAP-project mailing list