From 04842a84c31d82d9c2255e6575344412c58e518e Mon Sep 17 00:00:00 2001 From: Florent Xicluna Date: Fri, 11 Nov 2011 20:05:50 +0100 Subject: Remove unused or redundant imports in concurrent.futures and multiprocessing. --- Lib/concurrent/futures/thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/concurrent/futures/thread.py') diff --git a/Lib/concurrent/futures/thread.py b/Lib/concurrent/futures/thread.py index fbac0887a59..95bb682565c 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): -- cgit v1.2.3