Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #38143 > unrolled thread

Re: error in except

Started byChris Angelico <rosuav@gmail.com>
First post2013-02-05 08:54 +1100
Last post2013-02-05 08:54 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: error in except Chris Angelico <rosuav@gmail.com> - 2013-02-05 08:54 +1100

#38143 — Re: error in except

FromChris Angelico <rosuav@gmail.com>
Date2013-02-05 08:54 +1100
SubjectRe: error in except
Message-ID<mailman.1336.1360014867.2939.python-list@python.org>
On Tue, Feb 5, 2013 at 8:49 AM, Rodrick Brown <rodrick.brown@gmail.com> wrote:
>             if delay > 2.0:
>                 raise RuntimeError('I think the server is down')
>             except:
>                 raise
>             else:
>                 break

I think you have an indentation error here. Backtab the except maybe?
Or possibly just omit it altogether.

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web