diff options
author | Steven Knight <knight@baldmt.com> | 2010-05-16 14:04:20 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2010-05-16 14:04:20 (GMT) |
commit | dd1b7116ad4be5ef6ff8cf76ed227ad36003654b (patch) | |
tree | bf82974e344cc5d182d032d85276c14f195dca92 | |
parent | 85b27cd78d103a0514c5b57f69785c01a66a4dd7 (diff) | |
download | SCons-dd1b7116ad4be5ef6ff8cf76ed227ad36003654b.zip SCons-dd1b7116ad4be5ef6ff8cf76ed227ad36003654b.tar.gz SCons-dd1b7116ad4be5ef6ff8cf76ed227ad36003654b.tar.bz2 |
Convert old-style classes in Executor.py modules to new-style classes.
-rw-r--r-- | src/engine/SCons/Executor.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/SCons/Executor.py b/src/engine/SCons/Executor.py index 5dc1c39..07a4ee6 100644 --- a/src/engine/SCons/Executor.py +++ b/src/engine/SCons/Executor.py @@ -36,7 +36,7 @@ import SCons.Errors import SCons.Memoize -class Batch: +class Batch(object): """Remembers exact association between targets and sources of executor.""" def __init__(self, targets=[], sources=[]): @@ -74,7 +74,7 @@ class TSList(collections.UserList): nl = self.func() return repr(nl) -class TSObject: +class TSObject(object): """A class that implements $TARGET or $SOURCE expansions by wrapping an Executor method. """ @@ -108,7 +108,7 @@ def rfile(node): return rfile() -class Executor: +class Executor(object): """A class for controlling instances of executing an action. This largely exists to hold a single association of an action, @@ -566,7 +566,7 @@ def get_NullEnvironment(): nullenv = NullEnvironment() return nullenv -class Null: +class Null(object): """A null Executor, with a null build Environment, that does nothing when the rest of the methods call it. |