diff options
author | Steven Knight <knight@baldmt.com> | 2010-05-20 05:03:44 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2010-05-20 05:03:44 (GMT) |
commit | e53ab342686b8a577f9231d91fe3578cbbd6641a (patch) | |
tree | 5d37d9cbc3e7d2165c36cd0917cb6a2515adda1e /test/Progress | |
parent | 70ee995e9464e6ffae6ec456f6e8f419a29ce6be (diff) | |
download | SCons-e53ab342686b8a577f9231d91fe3578cbbd6641a.zip SCons-e53ab342686b8a577f9231d91fe3578cbbd6641a.tar.gz SCons-e53ab342686b8a577f9231d91fe3578cbbd6641a.tar.bz2 |
Convert old-style classes in test scripts to new-style classes.
Diffstat (limited to 'test/Progress')
-rw-r--r-- | test/Progress/object.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Progress/object.py b/test/Progress/object.py index 25c53cf..2886d06 100644 --- a/test/Progress/object.py +++ b/test/Progress/object.py @@ -36,7 +36,7 @@ test.write('SConstruct', """\ import sys env = Environment() env['BUILDERS']['C'] = Builder(action=Copy('$TARGET', '$SOURCE')) -class my_progress: +class my_progress(object): count = 0 def __call__(self, node, *args, **kw): self.count = self.count + 1 |