diff options
author | Steven Knight <knight@baldmt.com> | 2008-10-12 04:31:07 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2008-10-12 04:31:07 (GMT) |
commit | f91fb52e2632e6656dcd7ad67c6e4c2921d6da08 (patch) | |
tree | 4e0400716fc912b9c39466814111b42213cf5fcb /src | |
parent | 81e175baacb21e1a05d309c1a80af5d5e6f67e0f (diff) | |
download | SCons-f91fb52e2632e6656dcd7ad67c6e4c2921d6da08.zip SCons-f91fb52e2632e6656dcd7ad67c6e4c2921d6da08.tar.gz SCons-f91fb52e2632e6656dcd7ad67c6e4c2921d6da08.tar.bz2 |
Don't use the Exception.message attribute that was deprecated in
Python 2.6; just str() the exception instead.
Diffstat (limited to 'src')
-rw-r--r-- | src/engine/SCons/Job.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/engine/SCons/Job.py b/src/engine/SCons/Job.py index 515f7be..f83e0ca 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 |