Commit 566c0c73 authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

[Bug #512799] urllib.splittype() returns a 2-tuple. (Reported by seb bacon)

parent b189b07d
......@@ -481,7 +481,7 @@ class Checker:
if self.name_table.has_key(url):
return self.name_table[url]
scheme = urllib.splittype(url)
scheme, path = urllib.splittype(url)
if scheme in ('mailto', 'news', 'javascript', 'telnet'):
self.note(1, " Not checking %s URL" % scheme)
return None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment