mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 16:21:50 -04:00
11 lines
462 B
Python
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)
|