$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: daniel_at_[hidden]
Date: 2007-10-10 16:00:21
Author: danielw
Date: 2007-10-10 16:00:20 EDT (Wed, 10 Oct 2007)
New Revision: 39905
URL: http://svn.boost.org/trac/boost/changeset/39905
Log:
Assert that targets.BasicTarget.construct() always returns
a two element tuple.
Text files modified:
branches/build/python_port/python/boost/build/build/targets.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
Modified: branches/build/python_port/python/boost/build/build/targets.py
==============================================================================
--- branches/build/python_port/python/boost/build/build/targets.py (original)
+++ branches/build/python_port/python/boost/build/build/targets.py 2007-10-10 16:00:20 EDT (Wed, 10 Oct 2007)
@@ -685,12 +685,11 @@
source_targets = unique (source_targets)
result = self.construct (self.name_, source_targets, rproperties)
-
+ assert len(result) == 2
gur = result [0]
- result = result [1:]
+ result = result [1]
s = self.create_subvariant (result, ps, source_targets, rproperties, usage_requirements)
-
ur = self.compute_usage_requirements (s)
ur = ur.add (gur)
s.set_usage_requirements (ur)