Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a lambda instead of functools.partial for pycurl.HEADERFUNCTION.
Older versions of pycurl (including 7.16.2.1, which is the recommended version for Mac OS X 10.5) only work with real functions, not objects with a __call__ method like functools.partial. Remove exception-swallowing - curl versions that predate HEADERFUNCTION are no longer supported.
- Loading branch information