[PATCH] use pycurl only when engine initializable
Alexander Belchenko
bialix at ukr.net
Mon Apr 24 09:54:29 BST 2006
On my windows machine pycurl usable only when I'm have actual Internet
connection. When I'm offline any attempt to use pycurl raise error:
>>> import pycurl
>>> pycurl.Curl()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
pycurl.error: initializing curl failed
As result there is a bunch of unrelated errors during selftest.
Attached patch ensure that pycurl is usable. Othwerwise it raise
exception. And all PyCurl test will be skipped.
--
Alexander
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pycurl_error.diff
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20060424/9fca9cf6/attachment.diff
More information about the bazaar
mailing list