summaryrefslogtreecommitdiff
path: root/test/ToolSurrogate.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2010-05-20 05:03:44 +0000
committerSteven Knight <knight@baldmt.com>2010-05-20 05:03:44 +0000
commitf4d0f5a91828a1edd8bd1162b648592f8000d03a (patch)
tree5d37d9cbc3e7d2165c36cd0917cb6a2515adda1e /test/ToolSurrogate.py
parent9ecd62512d165b4a26c0fc5a4e64bda276f34155 (diff)
downloadscons-f4d0f5a91828a1edd8bd1162b648592f8000d03a.tar.gz
Convert old-style classes in test scripts to new-style classes.
Diffstat (limited to 'test/ToolSurrogate.py')
-rw-r--r--test/ToolSurrogate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ToolSurrogate.py b/test/ToolSurrogate.py
index a343d62d..c62128f8 100644
--- a/test/ToolSurrogate.py
+++ b/test/ToolSurrogate.py
@@ -34,7 +34,7 @@ import TestSCons
test = TestSCons.TestSCons()
test.write('SConstruct', """\
-class Curry:
+class Curry(object):
def __init__(self, fun, *args, **kwargs):
self.fun = fun
self.pending = args[:]
@@ -55,7 +55,7 @@ def Str(target, source, env, cmd=""):
result.append(" ".join(map(str, cmd)))
return '\\n'.join(result)
-class ToolSurrogate:
+class ToolSurrogate(object):
def __init__(self, tool, variable, func):
self.tool = tool
self.variable = variable