summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/CacheDirTests.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2010-05-12 05:21:33 (GMT)
committerSteven Knight <knight@baldmt.com>2010-05-12 05:21:33 (GMT)
commit53fc08f1c8d9d4d0174247cb34b770342fd25068 (patch)
treedb3ece8a678daf4f6d004096a05ddaaab94aa3a7 /src/engine/SCons/CacheDirTests.py
parentc94aad42405270dcfe9225d49fbf2aa2cae0b50d (diff)
downloadSCons-53fc08f1c8d9d4d0174247cb34b770342fd25068.zip
SCons-53fc08f1c8d9d4d0174247cb34b770342fd25068.tar.gz
SCons-53fc08f1c8d9d4d0174247cb34b770342fd25068.tar.bz2
Convert old-style utility classes in unit test files (*Tests.py)
to new-style classes.
Diffstat (limited to 'src/engine/SCons/CacheDirTests.py')
-rw-r--r--src/engine/SCons/CacheDirTests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/SCons/CacheDirTests.py b/src/engine/SCons/CacheDirTests.py
index 5447509..21b435a 100644
--- a/src/engine/SCons/CacheDirTests.py
+++ b/src/engine/SCons/CacheDirTests.py
@@ -34,7 +34,7 @@ import SCons.CacheDir
built_it = None
-class Action:
+class Action(object):
def __call__(self, targets, sources, env, **kw):
global built_it
if kw.get('execute', 1):
@@ -45,7 +45,7 @@ class Action:
def get_contents(self, target, source, env):
return ''
-class Builder:
+class Builder(object):
def __init__(self, environment, action):
self.env = environment
self.action = action
@@ -53,7 +53,7 @@ class Builder:
self.source_scanner = None
self.target_scanner = None
-class Environment:
+class Environment(object):
def __init__(self, cachedir):
self.cachedir = cachedir
def Override(self, overrides):