From f968c557132ccb83be8785a0fe954268cbb42129 Mon Sep 17 00:00:00 2001 From: GregNoel Date: Sat, 4 Oct 2008 15:35:50 +0000 Subject: [PATCH] Fix small inefficiency in jobs dispatching git-svn-id: http://scons.tigris.org/svn/scons/trunk@3549 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/engine/SCons/Job.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/SCons/Job.py b/src/engine/SCons/Job.py index 594045c2..515f7be9 100644 --- a/src/engine/SCons/Job.py +++ b/src/engine/SCons/Job.py @@ -243,7 +243,7 @@ else: while 1: task = self.requestQueue.get() - if not task: + if task is None: # The "None" value is used as a sentinel by # ThreadPool.cleanup(). This indicates that there # are no more tasks, so we should quit. -- 2.26.2