summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Defaults.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-08-19 23:06:05 (GMT)
committerSteven Knight <knight@baldmt.com>2003-08-19 23:06:05 (GMT)
commitda45157ba79c6e988c0ac89555141d02d23c5f29 (patch)
tree22791a098172f2e7191e0c35debf11b5da26e0ed /src/engine/SCons/Defaults.py
parente167fa6ca236dbe95f2a09a63a333436d50b3370 (diff)
downloadSCons-da45157ba79c6e988c0ac89555141d02d23c5f29.zip
SCons-da45157ba79c6e988c0ac89555141d02d23c5f29.tar.gz
SCons-da45157ba79c6e988c0ac89555141d02d23c5f29.tar.bz2
Portability fixes for tests.
Diffstat (limited to 'src/engine/SCons/Defaults.py')
-rw-r--r--src/engine/SCons/Defaults.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Defaults.py b/src/engine/SCons/Defaults.py
index 5ade3e0..66e8b00 100644
--- a/src/engine/SCons/Defaults.py
+++ b/src/engine/SCons/Defaults.py
@@ -60,10 +60,10 @@ _default_env = None
# Lazily instantiate the default environment so the overhead of creating
# it doesn't apply when it's not needed.
-def DefaultEnvironment():
+def DefaultEnvironment(*args, **kw):
global _default_env
if not _default_env:
- _default_env = SCons.Environment.Environment()
+ _default_env = apply(SCons.Environment.Environment, args, kw)
return _default_env