diff options
author | Steven Knight <knight@baldmt.com> | 2010-05-20 05:03:44 +0000 |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2010-05-20 05:03:44 +0000 |
commit | f4d0f5a91828a1edd8bd1162b648592f8000d03a (patch) | |
tree | 5d37d9cbc3e7d2165c36cd0917cb6a2515adda1e /test/ToolSurrogate.py | |
parent | 9ecd62512d165b4a26c0fc5a4e64bda276f34155 (diff) | |
download | scons-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.py | 4 |
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 |