diff options
author | Steven Knight <knight@baldmt.com> | 2010-05-14 13:21:19 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2010-05-14 13:21:19 (GMT) |
commit | 6052affbeca238048541b9045c7add82bd1dc997 (patch) | |
tree | 657e9741ed0a418b600bb95d76064277a2872bd4 /src/engine | |
parent | 4716de2d89ac9d0915770602af5737b98228dc1f (diff) | |
download | SCons-6052affbeca238048541b9045c7add82bd1dc997.zip SCons-6052affbeca238048541b9045c7add82bd1dc997.tar.gz SCons-6052affbeca238048541b9045c7add82bd1dc997.tar.bz2 |
Convert old-style classes in SConf.py to new-style classes.
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/SCons/SConf.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/SCons/SConf.py b/src/engine/SCons/SConf.py index 2d1cd61..0506f80 100644 --- a/src/engine/SCons/SConf.py +++ b/src/engine/SCons/SConf.py @@ -169,7 +169,7 @@ class SConfBuildInfo(SCons.Node.FS.FileBuildInfo): self.string = string -class Streamer: +class Streamer(object): """ 'Sniffer' for a file-like writable object. Similar to the unix tool tee. """ @@ -368,7 +368,7 @@ class SConfBuildTask(SCons.Taskmaster.AlwaysTask): sconsign.set_entry(t.name, sconsign_entry) sconsign.merge() -class SConfBase: +class SConfBase(object): """This is simply a class to represent a configure context. After creating a SConf object, you can call any tests. After finished with your tests, be sure to call the Finish() method, which returns the modified @@ -628,7 +628,7 @@ class SConfBase: return( 1, outputStr) return (0, "") - class TestWrapper: + class TestWrapper(object): """A wrapper around Tests (to ensure sanity)""" def __init__(self, test, sconf): self.test = test @@ -731,7 +731,7 @@ class SConfBase: _ac_config_hs[self.config_h] = self.config_h_text self.env.fs = self.lastEnvFs -class CheckContext: +class CheckContext(object): """Provides a context for configure tests. Defines how a test writes to the screen and log file. |