|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r64707 - trunk/tools/build/v2/util
From: ghost_at_[hidden]
Date: 2010-08-09 16:52:58
Author: vladimir_prus
Date: 2010-08-09 16:52:52 EDT (Mon, 09 Aug 2010)
New Revision: 64707
URL: http://svn.boost.org/trac/boost/changeset/64707
Log:
Fix python/jam translation some more.
Text files modified:
trunk/tools/build/v2/util/__init__.py | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
Modified: trunk/tools/build/v2/util/__init__.py
==============================================================================
--- trunk/tools/build/v2/util/__init__.py (original)
+++ trunk/tools/build/v2/util/__init__.py 2010-08-09 16:52:52 EDT (Mon, 09 Aug 2010)
@@ -44,8 +44,11 @@
_extract_jamfile_and_rule = re.compile("(Jamfile<.*>)%(.*)")
def qualify_jam_action(action_name, context_module):
-
- if _extract_jamfile_and_rule.match(action_name):
+
+ if action_name.startswith("###"):
+ # Callable exported from Python. Don't touch
+ return action_name
+ elif _extract_jamfile_and_rule.match(action_name):
# Rule is already in indirect format
return action_name
else:
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