2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 09:57:15 +01:00

Removed a function too early - this is what happens when no example is present

This commit is contained in:
Thomas Nagy 2012-09-17 23:30:22 +02:00
parent 41c52e3f4e
commit 56636cf5ff

View File

@ -176,7 +176,9 @@ class BuildContext(Context.Context):
rule = bar,
)
"""
return self(*k, rule=rule, **kw)
def f(rule):
return self(*k, rule=rule, **kw)
return f
def __copy__(self):
"""Implemented to prevents copies of build contexts (raises an exception)"""