diff options
author | Steven Knight <knight@baldmt.com> | 2003-08-19 23:06:05 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-08-19 23:06:05 (GMT) |
commit | da45157ba79c6e988c0ac89555141d02d23c5f29 (patch) | |
tree | 22791a098172f2e7191e0c35debf11b5da26e0ed /src/engine/SCons/Defaults.py | |
parent | e167fa6ca236dbe95f2a09a63a333436d50b3370 (diff) | |
download | SCons-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.py | 4 |
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 |