From d81dfac34eaab8c97b022ee700e01fdca091ace0 Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Sat, 12 Mar 2016 12:32:27 +0100 Subject: [PATCH] docs --- waflib/Build.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/waflib/Build.py b/waflib/Build.py index 92f72311..62beedab 100644 --- a/waflib/Build.py +++ b/waflib/Build.py @@ -167,9 +167,7 @@ class BuildContext(Context.Context): """ Wrapper for creating a task generator using the decorator notation. The following code:: - @bld.rule( - target = "foo" - ) + @bld.rule(target="foo") def _(tsk): print("bar") @@ -595,7 +593,6 @@ class BuildContext(Context.Context): def add_to_group(self, tgen, group=None): """add a task or a task generator for the build""" - # paranoid assert(isinstance(tgen, TaskGen.task_gen) or isinstance(tgen, Task.TaskBase)) tgen.bld = self self.get_group(group).append(tgen)