We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10f4ce6 commit d8c5581Copy full SHA for d8c5581
1 file changed
ietf/tests.py
@@ -305,7 +305,7 @@ def testUrlsReachability(self):
305
try:
306
code = str(self.client.get(baseurl, args).status_code)
307
except AssertionError:
308
- note("Exception for URL '%s'" % testurl)
+ note("Exception for URL '%s'" % url)
309
traceback.print_exc()
310
code = "500"
311
elif url.startswith("mailto:"):
@@ -317,8 +317,8 @@ def testUrlsReachability(self):
317
code = "200"
318
except urllib.HTTPError, e:
319
code = str(e.code)
320
- except InvalidURL, e:
321
+ except urllib.InvalidURL, e:
322
323
324
0 commit comments