In message <m2lj67af14....@web.de>, Diez B. Roggisch wrote:

> for n in xrange(max_number_of_retries):
>     try:
>         f=urllib.urlopen(self.url)
>         data = f.read()
>         break # exist the loop if all
>     except IOError:
>         pass

Is it worth delaying before retrying? In case of a transient routing error, 
that kind of thing.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to