Skip to content

Commit d8c5581

Browse files
committed
Fix copy-paste errors.
- Legacy-Id: 854
1 parent 10f4ce6 commit d8c5581

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ietf/tests.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def testUrlsReachability(self):
305305
try:
306306
code = str(self.client.get(baseurl, args).status_code)
307307
except AssertionError:
308-
note("Exception for URL '%s'" % testurl)
308+
note("Exception for URL '%s'" % url)
309309
traceback.print_exc()
310310
code = "500"
311311
elif url.startswith("mailto:"):
@@ -317,8 +317,8 @@ def testUrlsReachability(self):
317317
code = "200"
318318
except urllib.HTTPError, e:
319319
code = str(e.code)
320-
except InvalidURL, e:
321-
note("Exception for URL '%s'" % testurl)
320+
except urllib.InvalidURL, e:
321+
note("Exception for URL '%s'" % url)
322322
traceback.print_exc()
323323
code = "500"
324324

0 commit comments

Comments
 (0)