From: stevenknight Date: Sun, 12 Oct 2008 04:31:07 +0000 (+0000) Subject: Don't use the Exception.message attribute that was deprecated in X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d460a959d02f8807887dcee934eab584aefdd81e;p=scons.git 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 --- 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