diff options
author | Mats Wichmann <mats@linux.com> | 2020-09-21 14:21:38 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2020-09-21 16:39:39 (GMT) |
commit | 22c489260a659971aa6cea88f1024824fe31152d (patch) | |
tree | c67489084dcaa97d8c442033cfd213db0dcd4a19 /test/Progress | |
parent | 858ae87bad24f9df9b1731d154e72cf6d06f05de (diff) | |
download | SCons-22c489260a659971aa6cea88f1024824fe31152d.zip SCons-22c489260a659971aa6cea88f1024824fe31152d.tar.gz SCons-22c489260a659971aa6cea88f1024824fe31152d.tar.bz2 |
Run autoflake on code
Eliminate unneeded imports, and a few unneeded statements -
usually "pass" where it is not syntactically needed.
A couple of import try blocks were eliminated or changed
when they're "cannot happen" due to current floor Python version.
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/Progress')
-rw-r--r-- | test/Progress/TARGET.py | 1 | ||||
-rw-r--r-- | test/Progress/spinner.py | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/test/Progress/TARGET.py b/test/Progress/TARGET.py index bbe2538..9535390 100644 --- a/test/Progress/TARGET.py +++ b/test/Progress/TARGET.py @@ -29,7 +29,6 @@ Verify substition of the $TARGET string in progress output, including overwriting it by setting the overwrite= keyword argument. """ -import os import TestSCons diff --git a/test/Progress/spinner.py b/test/Progress/spinner.py index ff88841..f9be6e9 100644 --- a/test/Progress/spinner.py +++ b/test/Progress/spinner.py @@ -29,7 +29,6 @@ Verify output when a Progress() call is initialized with the list that represents a canonical "spinner" on the output. """ -import os import TestSCons |