diff options
author | Mats Wichmann <mats@linux.com> | 2020-05-23 13:46:18 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2020-05-24 15:27:22 (GMT) |
commit | 5b288f1b67a85bcccc533f101311b1c2c7f2b6eb (patch) | |
tree | adca21d96e435443cbc90985f53f67b85530a6c2 /test/Progress | |
parent | 0e76754e652e974f82f975d2cf526d5f7705baab (diff) | |
download | SCons-5b288f1b67a85bcccc533f101311b1c2c7f2b6eb.zip SCons-5b288f1b67a85bcccc533f101311b1c2c7f2b6eb.tar.gz SCons-5b288f1b67a85bcccc533f101311b1c2c7f2b6eb.tar.bz2 |
classes no longer explicitly inherit from object
In Python3 this is the default.
Signed-off-by: Mats Wichmann <mats@linux.com>
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 2886d06..25c53cf 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(object): +class my_progress: count = 0 def __call__(self, node, *args, **kw): self.count = self.count + 1 |