diff options
author | Steven Knight <knight@baldmt.com> | 2010-05-13 06:24:58 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2010-05-13 06:24:58 (GMT) |
commit | c88247d196c5b61c396baa041fd0f36dc33e9c6f (patch) | |
tree | e43bc6085cb5a5968f5897be2495d9d408015300 | |
parent | ce98a4c11433fe42c8e5175f1fe6950e98fe6da8 (diff) | |
download | SCons-c88247d196c5b61c396baa041fd0f36dc33e9c6f.zip SCons-c88247d196c5b61c396baa041fd0f36dc33e9c6f.tar.gz SCons-c88247d196c5b61c396baa041fd0f36dc33e9c6f.tar.bz2 |
Convert old-style classes in Builder.py to new-style classes.
-rw-r--r-- | src/engine/SCons/Builder.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/SCons/Builder.py b/src/engine/SCons/Builder.py index a9cbbd0..3d73a0c 100644 --- a/src/engine/SCons/Builder.py +++ b/src/engine/SCons/Builder.py @@ -111,7 +111,7 @@ import SCons.Node.FS import SCons.Util import SCons.Warnings -class _Null: +class _Null(object): pass _null = _Null @@ -318,7 +318,7 @@ def _node_errors(builder, env, tlist, slist): if len(slist) > 1: raise UserError("More than one source given for single-source builder: targets=%s sources=%s" % (list(map(str,tlist)), list(map(str,slist)))) -class EmitterProxy: +class EmitterProxy(object): """This is a callable class that can act as a Builder emitter. It holds on to a string that is a key into an Environment dictionary, and will @@ -348,7 +348,7 @@ class EmitterProxy: def __cmp__(self, other): return cmp(self.var, other.var) -class BuilderBase: +class BuilderBase(object): """Base class for Builders, objects that create output nodes (files) from input nodes (files). """ |