Chris Jerdonek added the comment:
> raise URLError('local file error: not on local host')
I should also point out that URLError invocations with formats like the above
already do occur in Lib/urllib/request.py. For example:
raise URLError('ftp error: no host given')
exc = URLError('ftp error: %s' % msg)
raise URLError("http protocol error: bad status line")
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue16250>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com