2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Fix python/jam translation some more.

[SVN r64707]
This commit is contained in:
Vladimir Prus
2010-08-09 20:52:52 +00:00
parent c49d198fd3
commit 32eec4e9a0

View File

@@ -44,8 +44,11 @@ def unquote(s):
_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: