~bzr-pqm/bzr/bzr.dev

  • Committer: Vincent Ladeuil
  • Date: 2008-05-18 13:59:54 UTC
  • mto: (3431.2.1 trunk)
  • 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.
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 3302.9.27 16 years ago Vincent Ladeuil Fixed as per Ian's review. 1.7 KB Diff Download File
basics.py 2938.2.1 17 years ago Jelmer Vernooij Handle empty inventories in Inventory.copy(). 9.1 KB Diff Download File