diff options
author | Steven Knight <knight@baldmt.com> | 2004-02-23 08:09:40 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-02-23 08:09:40 (GMT) |
commit | 027b93825c3b594b46e5edb9bf33af8089cbf7a4 (patch) | |
tree | 54b9d3e851b50f299e7f6857ac9ce048b3b197f8 /src/engine/SCons/ExecutorTests.py | |
parent | 50c144a3e0ea77718bba6762684c07398f8a05af (diff) | |
download | SCons-027b93825c3b594b46e5edb9bf33af8089cbf7a4.zip SCons-027b93825c3b594b46e5edb9bf33af8089cbf7a4.tar.gz SCons-027b93825c3b594b46e5edb9bf33af8089cbf7a4.tar.bz2 |
Add an internal Environment._update() method that updates the dictionary directly without running through user protections.
Diffstat (limited to 'src/engine/SCons/ExecutorTests.py')
-rw-r--r-- | src/engine/SCons/ExecutorTests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/SCons/ExecutorTests.py b/src/engine/SCons/ExecutorTests.py index 2cdc0e2..d43f7e2 100644 --- a/src/engine/SCons/ExecutorTests.py +++ b/src/engine/SCons/ExecutorTests.py @@ -38,6 +38,8 @@ class MyEnvironment: d = self._dict.copy() d.update(overrides) return d + def _update(self, dict): + self._dict.update(dict) class MyAction: actions = ['action1', 'action2'] |