summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Executor.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/Executor.py')
-rw-r--r--src/engine/SCons/Executor.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/engine/SCons/Executor.py b/src/engine/SCons/Executor.py
index 47a72de..6767cc8 100644
--- a/src/engine/SCons/Executor.py
+++ b/src/engine/SCons/Executor.py
@@ -105,6 +105,9 @@ class Executor:
except AttributeError:
return al
+ def do_nothing(self, target, errfunc, **kw):
+ pass
+
def __call__(self, target, errfunc, **kw):
"""Actually execute the action list."""
action_list = self.get_action_list(target)
@@ -159,6 +162,11 @@ class Executor:
build_env)
return self._strfunc
+ def nullify(self):
+ self.__call__ = self.do_nothing
+ self.string = None
+ self._strfunc = None
+
def get_raw_contents(self):
"""Fetch the raw signature contents. This, along with
get_contents(), is the real reason this class exists, so we can