From: Michael W. Hudson Date: Mon, 11 Mar 2002 10:04:07 +0000 (+0000) Subject: I presume most of the fixes currently hitting the tree should go into X-Git-Tag: v2.2.1c1~87 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7742c3d40d9898561a645ce5d7414e63963cadeb;p=thirdparty%2FPython%2Fcpython.git I presume most of the fixes currently hitting the tree should go into 2.2.1, but it would be nice if people remembered to comment on their fixes' applicability! backport akuchling's checkin of revision 1.26 of webchecker.py [Bug #512799] urllib.splittype() returns a 2-tuple. (Reported by seb bacon) --- diff --git a/Tools/webchecker/webchecker.py b/Tools/webchecker/webchecker.py index 071c2f680077..470b15a101a4 100755 --- a/Tools/webchecker/webchecker.py +++ b/Tools/webchecker/webchecker.py @@ -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