[xiph-commits] r13261 - websites/validator.xspf.org
sping at svn.xiph.org
sping at svn.xiph.org
Sat Jul 14 16:43:14 PDT 2007
Author: sping
Date: 2007-07-14 16:43:14 -0700 (Sat, 14 Jul 2007)
New Revision: 13261
Modified:
websites/validator.xspf.org/check.py
Log:
Closes bug #1211
Modified: websites/validator.xspf.org/check.py
===================================================================
--- websites/validator.xspf.org/check.py 2007-07-14 21:27:12 UTC (rev 13260)
+++ websites/validator.xspf.org/check.py 2007-07-14 23:43:14 UTC (rev 13261)
@@ -177,8 +177,8 @@
except ValueError:
intro = """<b style="color:red">Invalid URL.</b><br><br>"""
- except urllib2.HTTPError:
- # 404 or similar
+ except urllib2.URLError:
+ # 404, non-existent host, IPv6 (not supported), ...
intro = """<b style="color:red">Could not download from URL.</b><br><br>"""
if input != "":
More information about the commits
mailing list