diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-05-07 14:09:54 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-05-07 14:28:41 +0900 |
commit | 579a79660e843cd86278832c9aad3fec8f8a5fb3 (patch) | |
tree | 8c8054180b4ec2a0cf05c784add2e7d85de7d406 /sphinx/util/parallel.py | |
parent | 3b69c51897fcaea5db573e7c25ce56c03ebac5a7 (diff) | |
download | sphinx-git-579a79660e843cd86278832c9aad3fec8f8a5fb3.tar.gz |
Update type annotations for new mypy
Diffstat (limited to 'sphinx/util/parallel.py')
-rw-r--r-- | sphinx/util/parallel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/parallel.py b/sphinx/util/parallel.py index bcc6117f6..7ca4e94e6 100644 --- a/sphinx/util/parallel.py +++ b/sphinx/util/parallel.py @@ -88,7 +88,7 @@ class ParallelTasks(object): failed = False except BaseException as err: failed = True - errmsg = traceback.format_exception_only(err.__class__, err)[0].strip() # type: ignore # NOQA + errmsg = traceback.format_exception_only(err.__class__, err)[0].strip() ret = (errmsg, traceback.format_exc()) logging.convert_serializable(collector.logs) pipe.send((failed, collector.logs, ret)) |