diff options
| author | Ludwig Hähne <pankrat@tigris.org> | 2008-09-05 16:28:48 (GMT) |
|---|---|---|
| committer | Ludwig Hähne <pankrat@tigris.org> | 2008-09-05 16:28:48 (GMT) |
| commit | 587587669d48a2cc6ccfc8295b573d225fe3cb60 (patch) | |
| tree | bf934b697ada84dbfc66f744c5a6596f0f230792 /src/engine/SCons/Environment.py | |
| parent | 0dc55878f15880c32ace0c7d63b215b92587714f (diff) | |
| download | SCons-587587669d48a2cc6ccfc8295b573d225fe3cb60.zip SCons-587587669d48a2cc6ccfc8295b573d225fe3cb60.tar.gz SCons-587587669d48a2cc6ccfc8295b573d225fe3cb60.tar.bz2 | |
Issue 2176: BuilderWrapper __getattr__ should not raise KeyError
Diffstat (limited to 'src/engine/SCons/Environment.py')
| -rw-r--r-- | src/engine/SCons/Environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Environment.py b/src/engine/SCons/Environment.py index 67881eb..1a4f5f5 100644 --- a/src/engine/SCons/Environment.py +++ b/src/engine/SCons/Environment.py @@ -230,7 +230,7 @@ class BuilderWrapper(MethodWrapper): elif name == 'builder': return self.method else: - return self.__dict__[name] + raise AttributeError, name def __setattr__(self, name, value): if name == 'env': |
