Skip to content

Commit 9c2fbe1

Browse files
author
akuchling
committed
[Bug #512799] urllib.splittype() returns a 2-tuple. (Reported by seb bacon)
git-svn-id: http://svn.python.org/projects/python/trunk@25549 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 321e99d commit 9c2fbe1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tools/webchecker/webchecker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ def getpage(self, url_pair):
481481
if self.name_table.has_key(url):
482482
return self.name_table[url]
483483

484-
scheme = urllib.splittype(url)
484+
scheme, path = urllib.splittype(url)
485485
if scheme in ('mailto', 'news', 'javascript', 'telnet'):
486486
self.note(1, " Not checking %s URL" % scheme)
487487
return None

0 commit comments

Comments
 (0)