~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 3430.3.1.

  • Committer: Vincent Ladeuil
  • Date: 2008-05-18 13:59:54 UTC
  • mto: (3431.2.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 3433.
  • Revision ID: v.ladeuil+lp@free.fr-20080518135954-o8v3f69soqztpg0f
Fix #230223 by making both http implementations raise appropriate exceptions.

* _urllib2_wrappers.py:
(HTTPDefaultErrorHandler.http_error_default): Fix the spelling
error and also mentioned the url.

* _urllib.py:
(HttpTransport_urllib._post): Since the error handling differs from
pycurl and we are used only by the smart client, treats 403 as a
SmartProtocolError,

* _pycurl.py:
(PyCurlTransport._raise_curl_http_error): Fix the spelling error and
also mentioned the url.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: