|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r63925 - trunk/tools/build/v2/build
From: ghost_at_[hidden]
Date: 2010-07-12 10:13:40
Author: vladimir_prus
Date: 2010-07-12 10:13:40 EDT (Mon, 12 Jul 2010)
New Revision: 63925
URL: http://svn.boost.org/trac/boost/changeset/63925
Log:
Shut up 'BaseException.message is deprecated' warnings
Text files modified:
trunk/tools/build/v2/build/errors.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/tools/build/v2/build/errors.py
==============================================================================
--- trunk/tools/build/v2/build/errors.py (original)
+++ trunk/tools/build/v2/build/errors.py 2010-07-12 10:13:40 EDT (Mon, 12 Jul 2010)
@@ -58,9 +58,9 @@
self.stack_ = stack
def report(self):
- print "error:", self.message
+ print "error:", self.args[0]
if self.original_exception_:
- print format(self.original_exception_.message, " ")
+ print format(self.original_exception_.args[0], " ")
print
print " error context (most recent first):"
for c in self.context_[::-1]:
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk