aboutsummaryrefslogtreecommitdiff
path: root/src/Logging.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-12-10 13:38:49 +0000
committerGravatar jesopo2018-12-10 13:38:49 +0000
commitf77c443ac1ccccc1bf235980bd199f7a7e10cd9b (patch)
tree9fb5f9f308d8dfe71b0ea4bbe3126bdab188ec6f /src/Logging.py
parentMake `block` param of queue.get() explicitly refer to `block` (diff)
signature
Add type hint for Logging._queue
Diffstat (limited to 'src/Logging.py')
-rw-r--r--src/Logging.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Logging.py b/src/Logging.py
index 963860dc..53275686 100644
--- a/src/Logging.py
+++ b/src/Logging.py
@@ -54,7 +54,7 @@ class Log(object):
warn_handler.setFormatter(formatter)
self.logger.addHandler(warn_handler)
- self._queue = queue.Queue()
+ self._queue = queue.Queue() # type: queue.Queue[typing.Tuple[str, typing.List, int, typing.Dict]]
self._thread = threading.Thread(target=self._loop)
self._thread.daemon = True
self._thread.start()