On Sun, Aug 10, 2008 at 6:16 PM, James <[EMAIL PROTECTED]> wrote:
> Kent,
>
> I'm not importing BadStatusLine. I'm only importing mechanize, which
> downloads a page repeatedly. From time to time a BadStatusLine
> exception is raised. I'm unsure how to go about catching it.

Try adding
from httplib import BadStatusLine
to the top of your module.

Kent
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to