summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Environment.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-12-16 13:29:10 (GMT)
committerSteven Knight <knight@baldmt.com>2004-12-16 13:29:10 (GMT)
commit3869e426c19bd3b2e9bbb611b596220df9b34814 (patch)
tree2de4188ab5c2719a9b61289dcd49578702552b3e /src/engine/SCons/Environment.py
parent34825bfd664eacf14ca95f8e9335e2dcd440bb48 (diff)
downloadSCons-3869e426c19bd3b2e9bbb611b596220df9b34814.zip
SCons-3869e426c19bd3b2e9bbb611b596220df9b34814.tar.gz
SCons-3869e426c19bd3b2e9bbb611b596220df9b34814.tar.bz2
Restore older recipe for creating env.Command() builders while a better solution is coded.
Diffstat (limited to 'src/engine/SCons/Environment.py')
-rw-r--r--src/engine/SCons/Environment.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/engine/SCons/Environment.py b/src/engine/SCons/Environment.py
index d973a01..ca543bd 100644
--- a/src/engine/SCons/Environment.py
+++ b/src/engine/SCons/Environment.py
@@ -1141,12 +1141,8 @@ class Base:
source files using the supplied action. Action may
be any type that the Builder constructor will accept
for an action."""
- builder_kw = {
- 'action' : action,
- 'source_factory' : self.fs.Entry,
- }
- builder_kw.update(kw)
- bld = apply(SCons.Builder.Builder, (), builder_kw)
+ bld = SCons.Builder.Builder(action = action,
+ source_factory = self.fs.Entry)
return apply(bld, (self, target, source), kw)
def Depends(self, target, dependency):