This commit is contained in:
Thomas Nagy 2012-01-26 21:08:52 +01:00
parent f953165688
commit 5b577a9109
2 changed files with 6 additions and 2 deletions

View File

@ -97,6 +97,8 @@ class Node(object):
* The basic methods meant for filesystem access (compute paths, create folders, etc)
* The methods bound to a :py:class:`waflib.Build.BuildContext` (require ``bld.srcnode`` and ``bld.bldnode``)
The Node objects are not thread safe in any way.
"""
__slots__ = ('name', 'sig', 'children', 'parent', 'cache_abspath', 'cache_isdir')
@ -504,7 +506,8 @@ class Node(object):
For more information see http://ant.apache.org/manual/dirtasks.html
The nodes that correspond to files and folders that do not exist will be removed
The nodes that correspond to files and folders that do not exist will be removed. To prevent this
behaviour, pass 'remove=False'
:param incl: ant patterns or list of patterns to include
:type incl: string or list of strings

View File

@ -266,7 +266,8 @@ class TaskBase(evil):
def run(self):
"""
Execute the task (executed by threads). Override in subclasses.
Called by threads to execute the tasks. The default is empty and meant to be overridden in subclasses.
It is a bad idea to create nodes in this method (so, no node.ant_glob)
:rtype: int
"""