|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r75635 - trunk/tools/build/v2/tools
From: ghost_at_[hidden]
Date: 2011-11-23 01:29:13
Author: vladimir_prus
Date: 2011-11-23 01:29:08 EST (Wed, 23 Nov 2011)
New Revision: 75635
URL: http://svn.boost.org/trac/boost/changeset/75635
Log:
Fix couple issues in common.py
Patch from Juraj IvanÄiÄ
Text files modified:
trunk/tools/build/v2/tools/common.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Modified: trunk/tools/build/v2/tools/common.py
==============================================================================
--- trunk/tools/build/v2/tools/common.py (original)
+++ trunk/tools/build/v2/tools/common.py 2011-11-23 01:29:08 EST (Wed, 23 Nov 2011)
@@ -150,7 +150,7 @@
def get(self, id, param):
""" Returns the value of a configuration parameter. """
- self.params_.get(param, {}).get(id)
+ return self.params_.get(param, {}).get(id)
def set (self, id, param, value):
""" Sets the value of a configuration parameter. """
@@ -294,6 +294,8 @@
#print "warning: initialized from" [ errors.nearest-user-location ] ;
else:
command = check_tool(user_provided_command)
+ assert(isinstance(command, list))
+ command=' '.join(command)
if not command and __debug_configuration:
print "warning: toolset", toolset, "initialization:"
print "warning: can't find user-provided command", user_provided_command
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