Author: georg.brandl
Date: Sat Jan 26 12:23:13 2008
New Revision: 60318
Modified:
python/branches/py3k/Lib/urllib.py
Log:
Fix merge glitch that let test_urllib fail.
Modified: python/branches/py3k/Lib/urllib.py
==============================================================================
--- python/branches/py3k/Lib/urllib.py (original)
+++ python/branches/py3k/Lib/urllib.py Sat Jan 26 12:23:13 2008
@@ -360,7 +360,8 @@
# According to RFC 2616, "2xx" code indicates that the client's
# request was successfully received, understood, and accepted.
if (200 <= response.status < 300):
- return addinfourl(response.fp, response.msg, "http:" + url)
+ return addinfourl(response.fp, response.msg, "http:" + url,
+ response.status)
else:
return self.http_error(
url, response.fp,
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins