Fixed exception name for current urllib
- Legacy-Id: 1626
This commit is contained in:
parent
5fa1f29e98
commit
4e8f3d6818
|
@ -421,7 +421,7 @@ class UrlTestCase(TestCase):
|
|||
note(" 200 %s" % (master))
|
||||
except urllib.URLError, e:
|
||||
note(" Error retrieving %s: %s" % (master, e))
|
||||
except urllib.BadStatusLine, e:
|
||||
except urllib.HTTPError, e:
|
||||
note(" Error retrieving %s: %s" % (master, e))
|
||||
try:
|
||||
if goodhtml and response.content:
|
||||
|
|
Loading…
Reference in a new issue