diff options
author | Steven Knight <knight@baldmt.com> | 2005-03-01 13:27:51 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2005-03-01 13:27:51 (GMT) |
commit | fe606cd36331a41959d57fa41f7e8fe139f31f3f (patch) | |
tree | 73e73a84d22f8ce1a329f1eaad502886dd7e514a /src/engine/SCons/Executor.py | |
parent | c4b35b0ad854432a32fe9d09c2fdd8bdafc40fd8 (diff) | |
download | SCons-fe606cd36331a41959d57fa41f7e8fe139f31f3f.zip SCons-fe606cd36331a41959d57fa41f7e8fe139f31f3f.tar.gz SCons-fe606cd36331a41959d57fa41f7e8fe139f31f3f.tar.bz2 |
Group --debug=count output by object modules.
Diffstat (limited to 'src/engine/SCons/Executor.py')
-rw-r--r-- | src/engine/SCons/Executor.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/SCons/Executor.py b/src/engine/SCons/Executor.py index 5b45d55..c425a05 100644 --- a/src/engine/SCons/Executor.py +++ b/src/engine/SCons/Executor.py @@ -47,7 +47,7 @@ class Executor: def __init__(self, action, env=None, overridelist=[{}], targets=[], sources=[], builder_kw={}): - if __debug__: logInstanceCreation(self) + if __debug__: logInstanceCreation(self, 'Executor.Executor') if not action: raise SCons.Errors.UserError, "Executor must have an action." self.action = action @@ -204,6 +204,8 @@ class Null: disassociate Builders from Nodes entirely, so we're not going to worry about unit tests for this--at least for now. """ + def __init__(self): + if __debug__: logInstanceCreation(self, 'Executor.Null') def get_build_env(self): class NullEnvironment: def get_scanner(self, key): |