Chromium Code Reviews

Unified Diff: third_party/scons/scons-local/SCons/Job.py

Issue 17024: Update to SCons 1.2.0. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « third_party/scons/scons-local/SCons/Executor.py ('k') | third_party/scons/scons-local/SCons/Memoize.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/scons/scons-local/SCons/Job.py
===================================================================
--- third_party/scons/scons-local/SCons/Job.py (revision 7505)
+++ third_party/scons/scons-local/SCons/Job.py (working copy)
@@ -29,7 +29,7 @@
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
-__revision__ = "src/engine/SCons/Job.py 3603 2008/10/10 05:46:45 scons"
+__revision__ = "src/engine/SCons/Job.py 3842 2008/12/20 22:59:52 scons"
import os
import signal
@@ -243,7 +243,7 @@
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.
@@ -284,8 +284,7 @@
e.args[0]
SCons.Warnings.warn(SCons.Warnings.StackSizeWarning, msg)
except ValueError, e:
- msg = "Setting stack size failed:\n " + \
- e.message
+ msg = "Setting stack size failed:\n " + str(e)
SCons.Warnings.warn(SCons.Warnings.StackSizeWarning, msg)
# Create worker threads
« no previous file with comments | « third_party/scons/scons-local/SCons/Executor.py ('k') | third_party/scons/scons-local/SCons/Memoize.py » ('j') | no next file with comments »

Powered by Google App Engine