i3pystatus/i3pystatus/mail
Mehdi Abaakouk caaf9844f6 Fix imap re-connection
Imap re-connection is not working.

Connection exceptions (socket.error, socket.gaierror, IMAP4.abort) can
be raise during any imap operations, not only on connection
establishment.

Also the idle thread call start() on thread multiple times, but this is
not allowed by python. The thread is not daemonize, so the thread code
can be never runned if the python process is busy. And the module is
located in imaplib2.imaplib2.IMAP4 not imaplib2.IMAP4...

This change fixes all of that.
2016-09-20 19:18:05 +02:00
..
__init__.py mail: fix incorrect specification of settings 2015-06-05 13:25:25 +02:00
imap.py Fix imap re-connection 2016-09-20 19:18:05 +02:00
maildir.py Remove shebangs and coding tags 2015-06-17 10:32:10 +02:00
mbox.py Remove shebangs and coding tags 2015-06-17 10:32:10 +02:00
notmuchmail.py Remove shebangs and coding tags 2015-06-17 10:32:10 +02:00
thunderbird.py Remove shebangs and coding tags 2015-06-17 10:32:10 +02:00