diff options
author | Mats Wichmann <mats@linux.com> | 2019-08-16 14:19:20 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2022-03-15 14:39:44 (GMT) |
commit | ff81eebb73825091051e5ee846d0d89c60798112 (patch) | |
tree | bb02c3ff5d48f0322c0b5fbf2c14b1c7ae2f6908 /src/test_setup.py | |
parent | 57369e87ba560f941e645e9d2ed194bd4a26dad5 (diff) | |
download | SCons-ff81eebb73825091051e5ee846d0d89c60798112.zip SCons-ff81eebb73825091051e5ee846d0d89c60798112.tar.gz SCons-ff81eebb73825091051e5ee846d0d89c60798112.tar.bz2 |
Use super call instead of direct class call
- super used where direct call to superclass existed
- convert a few older-style super() (two-argument) uses
- in a few places, where there was an intersection with a super change,
variables that override a builtin (e.g. "dict") were renamed.
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'src/test_setup.py')
-rw-r--r-- | src/test_setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test_setup.py b/src/test_setup.py index 8410be3..5db21a1 100644 --- a/src/test_setup.py +++ b/src/test_setup.py @@ -81,7 +81,7 @@ class MyTestSCons(TestSCons.TestSCons): ] def __init__(self): - TestSCons.TestSCons.__init__(self) + super().__init__() self.root = self.workpath('root') self.prefix = self.root + os.path.splitdrive(sys.prefix)[1] |