diff --git a/awx/main/utils/handlers.py b/awx/main/utils/handlers.py index b53a1e83eb..b7b851a5c5 100644 --- a/awx/main/utils/handlers.py +++ b/awx/main/utils/handlers.py @@ -118,9 +118,13 @@ class BaseHTTPSHandler(logging.Handler): def emit(self, record): """ - Emit a log record. When ``self.async`` is True, returns a list of + Emit a log record. Returns a list of zero or more ``concurrent.futures.Future`` objects. + When ``self.async`` is True, the list will contain one + Future object for each HTTP request made. When ``self.async`` is + False, the list will be empty. + See: https://docs.python.org/3/library/concurrent.futures.html#future-objects http://pythonhosted.org/futures/