ports/www/py-planet/files/patch-planet-api-dispatch.py
Sunpoet Po-Chuan Hsieh 86859a5f0a Change RUN_DEPENDS from py-requests-futures097 to py-requests-futures
- Bump PORTREVISION for dependency and package change
2020-05-29 01:57:21 +00:00

11 lines
462 B
Python

--- planet/api/dispatch.py.orig 2020-01-13 22:11:38 UTC
+++ planet/api/dispatch.py
@@ -149,7 +149,7 @@ class RequestsDispatcher(object):
def _dispatch_async(self, request, callback):
return _do_request(self._asyncpool, request, stream=True,
- background_callback=callback)
+ hooks=callback)
def _dispatch(self, request, callback=None):
return _do_request(self.session, request)