summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Executor.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-09-21 18:49:05 (GMT)
committerSteven Knight <knight@baldmt.com>2004-09-21 18:49:05 (GMT)
commit7700eb55bbf0da1e084ea4bd29212a8560376f55 (patch)
tree7410c59ea70fcab691b327a9837da11fee8c8fab /src/engine/SCons/Executor.py
parent50c6d9c6698a79ec2c0299c61b6ffdd2b27e921b (diff)
downloadSCons-7700eb55bbf0da1e084ea4bd29212a8560376f55.zip
SCons-7700eb55bbf0da1e084ea4bd29212a8560376f55.tar.gz
SCons-7700eb55bbf0da1e084ea4bd29212a8560376f55.tar.bz2
Better error messages for bad builder creation. (Kevin Quick)
Diffstat (limited to 'src/engine/SCons/Executor.py')
-rw-r--r--src/engine/SCons/Executor.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/SCons/Executor.py b/src/engine/SCons/Executor.py
index bb10ea0..b9d9897 100644
--- a/src/engine/SCons/Executor.py
+++ b/src/engine/SCons/Executor.py
@@ -50,6 +50,8 @@ class Executor:
self.overridelist = overridelist
self.targets = targets
self.sources = sources[:]
+ if not action:
+ raise SCons.Errors.UserError, "Executor must have an action."
def get_build_env(self):
"""Fetch or create the appropriate build Environment