Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.100 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.81; '*S*': 0.01; 'subject:Getting': 0.07; 'archiving': 0.09; 'question?': 0.09; 'oserror': 0.16; 'wrote:': 0.18; 'errors.': 0.24; 'code:': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'skip:( 20': 0.30; 'thanks!': 0.32; 'subject:from': 0.34; 'except': 0.35; 'problem.': 0.35; 'received:84': 0.35; 'should': 0.36; 'problems': 0.38; 'to:addr :python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'failures': 0.60; 'header:Message-Id:1': 0.63; 'from:addr:mail': 0.83; 'received:212.162': 0.84; 'dealt': 0.91 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Subject: Re: Getting errors from Imaplib From: Beatrix Willius from Moth Software In-Reply-To: Date: Mon, 1 Dec 2014 08:11:30 +0100 Content-Transfer-Encoding: quoted-printable References: <4B0DF114-E705-47B3-9815-003899F174CE@beatrixwillius.de> To: python-list@python.org X-Mailer: Apple Mail (2.1990.1) X-Info: valid message X-Info: original Date X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1417417900 news.xs4all.nl 2914 [2001:888:2000:d::a6]:40872 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:81744 On 30.11.2014, at 21:11, Chris Angelico wrote: >=20 > 2) Network failures and auth problems should be dealt with the same > way. Change one line of code: > except (imaplib.IMAP4.error, OSError): >=20 > Now it'll cope with OSError the same way it copes with IMAP errors. >=20 > Does that answer your question? Thanks! That solves my problem. Mit freundlichen Gr=C3=BC=C3=9Fen/Regards Trixi Willius http://www.mothsoftware.com Mail Archiver X: The email archiving solution for professionals