From d460a959d02f8807887dcee934eab584aefdd81e Mon Sep 17 00:00:00 2001 From: stevenknight Date: Sun, 12 Oct 2008 04:31:07 +0000 Subject: [PATCH] Don't use the Exception.message attribute that was deprecated in Python 2.6; just str() the exception instead. git-svn-id: http://scons.tigris.org/svn/scons/trunk@3679 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/engine/SCons/Job.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/engine/SCons/Job.py b/src/engine/SCons/Job.py index 515f7be9..f83e0ca7 100644 --- a/src/engine/SCons/Job.py +++ b/src/engine/SCons/Job.py @@ -284,8 +284,7 @@ else: 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 -- 2.26.2