Rev 2001: (vila) Fix bug #59835: avoid e.code for URLErrors in /home/pqm/archives/thelove/bzr/+trunk/
Canonical.com Patch Queue Manager
pqm at pqm.ubuntu.com
Tue Sep 12 16:39:33 BST 2006
------------------------------------------------------------
revno: 2001
revision-id: pqm at pqm.ubuntu.com-20060912153932-5ad746328277317a
parent: pqm at pqm.ubuntu.com-20060912014025-49963eb2d73c6827
parent: john at arbash-meinel.com-20060912152907-f6f310a88437b17f
committer: Canonical.com Patch Queue Manager<pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Tue 2006-09-12 16:39:32 +0100
message:
(vila) Fix bug #59835: avoid e.code for URLErrors
modified:
NEWS NEWS-20050323055033-4e00b5db738777ff
bzrlib/tests/test_http.py testhttp.py-20051018020158-b2eef6e867c514d9
bzrlib/transport/http/_urllib.py _urlgrabber.py-20060113083826-0bbf7d992fbf090c
------------------------------------------------------------
merged: john at arbash-meinel.com-20060912152907-f6f310a88437b17f
parent: john at arbash-meinel.com-20060912152802-64ced185121942af
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: jam-integration
timestamp: Tue 2006-09-12 10:29:07 -0500
message:
NEWS for fixing bug #59835
------------------------------------------------------------
merged: john at arbash-meinel.com-20060912152802-64ced185121942af
parent: john at arbash-meinel.com-20060912152325-08f75e88cc926c77
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: jam-integration
timestamp: Tue 2006-09-12 10:28:02 -0500
message:
Update the urllib.has test.
------------------------------------------------------------
merged: john at arbash-meinel.com-20060912152325-08f75e88cc926c77
parent: pqm at pqm.ubuntu.com-20060912014025-49963eb2d73c6827
parent: v.ladeuil+lp at free.fr-20060912105446-b2acda6c722bcda9
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: jam-integration
timestamp: Tue 2006-09-12 10:23:25 -0500
message:
[merge] vila: fix bug #59835 with test
------------------------------------------------------------
merged: v.ladeuil+lp at free.fr-20060912105446-b2acda6c722bcda9
parent: pqm at pqm.ubuntu.com-20060912014025-49963eb2d73c6827
committer: v.ladeuil+lp at free.fr
branch nick: bug.59835
timestamp: Tue 2006-09-12 12:54:46 +0200
message:
Fix bug 59835 with test.
* bzrlib/transport/http/_urllib.py:
(HttpTransport_urllib.has): Only HTTPError have a 'code'
attribute. Separate them from URLError exceptions.
* bzrlib/tests/test_http.py:
(TestHttpConnections_urllib.test_bogus_host): Check that an
URLError can be raised safely.
More information about the bazaar-commits
mailing list