Boost logo

Boost-Build :

Subject: Re: [Boost-build] [python-port] common.py patch
From: Vladimir Prus (ghost_at_[hidden])
Date: 2011-11-23 01:29:38


On 22/11/11 16:08, Juraj Ivančić wrote:
> Two bugs down in common.py.
>
> common.py.patch
>
>
> Index: tools/common.py
> ===================================================================
> --- tools/common.py (revision 75605)
> +++ tools/common.py (working copy)
> @@ -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

Applied, thanks!

- Volodya


Boost-Build 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