Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #81744
| Subject | Re: Getting errors from Imaplib |
|---|---|
| From | Beatrix Willius from Moth Software <mail@beatrixwillius.de> |
| Date | 2014-12-01 08:11 +0100 |
| References | <4B0DF114-E705-47B3-9815-003899F174CE@beatrixwillius.de> <CAPTjJmo_eZ=Ga=J6vqasD0EG8ZiVP9OLJE7CGxHa1ba8Jkv9WA@mail.gmail.com> <B32A0BD4-1298-4F20-A864-B20C6ACF86D9@beatrixwillius.de> <CAPTjJmpW=4B8EfsrsgtBK5CJHRRcR03sg9WdKUt3kGXxUU=2Og@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.16447.1417417900.18130.python-list@python.org> (permalink) |
On 30.11.2014, at 21:11, Chris Angelico <rosuav@gmail.com> wrote: > > 2) Network failures and auth problems should be dealt with the same > way. Change one line of code: > except (imaplib.IMAP4.error, OSError): > > Now it'll cope with OSError the same way it copes with IMAP errors. > > Does that answer your question? Thanks! That solves my problem. Mit freundlichen Grüßen/Regards Trixi Willius http://www.mothsoftware.com Mail Archiver X: The email archiving solution for professionals
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Getting errors from Imaplib Beatrix Willius from Moth Software <mail@beatrixwillius.de> - 2014-12-01 08:11 +0100
csiph-web