summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/TaskmasterTests.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-01-06 03:54:25 (GMT)
committerSteven Knight <knight@baldmt.com>2003-01-06 03:54:25 (GMT)
commit6702e9dce5182eaa012da9dc511fcf85cf205049 (patch)
tree08fd77ca8579ba8426241b560202cd8f9a20c3f8 /src/engine/SCons/TaskmasterTests.py
parent51974ccdc1ee8340c54f8fa02670c554d20ef157 (diff)
downloadSCons-6702e9dce5182eaa012da9dc511fcf85cf205049.zip
SCons-6702e9dce5182eaa012da9dc511fcf85cf205049.tar.gz
SCons-6702e9dce5182eaa012da9dc511fcf85cf205049.tar.bz2
Performance improvement: cut down on Proxy.__getattr__ calls.
Diffstat (limited to 'src/engine/SCons/TaskmasterTests.py')
-rw-r--r--src/engine/SCons/TaskmasterTests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/engine/SCons/TaskmasterTests.py b/src/engine/SCons/TaskmasterTests.py
index d8bcc4f..79ff11b 100644
--- a/src/engine/SCons/TaskmasterTests.py
+++ b/src/engine/SCons/TaskmasterTests.py
@@ -57,6 +57,9 @@ class Node:
global built_text
built_text = self.name + " built"
+ def has_builder(self):
+ return not self.builder is None
+
def built(self):
global built_text
built_text = built_text + " really"