~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 2872.6.1.

  • Committer: Vincent Ladeuil
  • Date: 2007-10-01 08:42:16 UTC
  • mto: (2910.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 2911.
  • Revision ID: v.ladeuil+lp@free.fr-20071001084216-fvlt6hyk8lo134zh
Fix bug #147530 by enabling more robust error code definitions.

* bzrlib/transport/http/_pycurl.py:
(_get_pycurl_errcode): Wraps error code definition ensuring better
backward/forward compatibility with curl.
(PyCurlTransport._curl_perform): Use our new error code symbols.

* bzrlib/transport/http/_pycurl_errors.py:
Deleted. The design couldn't cope with being compatible with
several pycurl versions.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: