summaryrefslogtreecommitdiff
path: root/Lib/concurrent/futures/thread.py
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2011-11-11 20:05:50 +0100
committerFlorent Xicluna <florent.xicluna@gmail.com>2011-11-11 20:05:50 +0100
commit04842a84c31d82d9c2255e6575344412c58e518e (patch)
tree9f4627fbf8715735104187c417d1c5e2f7f6ebc5 /Lib/concurrent/futures/thread.py
parentf8240d6564c6d8f166256fca9b0fb6e9b89c7db1 (diff)
downloadcpython-git-04842a84c31d82d9c2255e6575344412c58e518e.tar.gz
Remove unused or redundant imports in concurrent.futures and multiprocessing.
Diffstat (limited to 'Lib/concurrent/futures/thread.py')
-rw-r--r--Lib/concurrent/futures/thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/concurrent/futures/thread.py b/Lib/concurrent/futures/thread.py
index fbac0887a5..95bb682565 100644
--- a/Lib/concurrent/futures/thread.py
+++ b/Lib/concurrent/futures/thread.py
@@ -74,7 +74,7 @@ def _worker(executor_reference, work_queue):
work_queue.put(None)
return
del executor
- except BaseException as e:
+ except BaseException:
_base.LOGGER.critical('Exception in worker', exc_info=True)
class ThreadPoolExecutor(_base.Executor):