diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2013-03-15 21:27:58 -0400 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2013-03-15 21:28:23 -0400 |
commit | cb57f73650fe20855582f47b7ec69136e7d3e6c1 (patch) | |
tree | ba03d960fe630110cd13c15d4a5cdf92a7cb3de9 /python | |
parent | 34e82637aeb3025568647d1bd4c9a2f2ce5c9940 (diff) | |
download | pycurl-cb57f73650fe20855582f47b7ec69136e7d3e6c1.tar.gz |
Python 3 compatibility: apply no longer exists
Diffstat (limited to 'python')
-rw-r--r-- | python/curl/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/curl/__init__.py b/python/curl/__init__.py index b002618..5b6b549 100644 --- a/python/curl/__init__.py +++ b/python/curl/__init__.py @@ -63,7 +63,7 @@ class Curl: def set_option(self, *args): "Set an option on the retrieval." - apply(self.handle.setopt, args) + self.handle.setopt(*args) def set_verbosity(self, level): "Set verbosity to 1 to see transactions." @@ -103,7 +103,7 @@ class Curl: def get_info(self, *args): "Get information about retrieval." - return apply(self.handle.getinfo, args) + return self.handle.getinfo(*args) def info(self): "Return a dictionary with all info on the last response." |