summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Environment.py
diff options
context:
space:
mode:
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):