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/Actions | |
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/Actions')
-rw-r--r-- | test/Actions/append.py | 1 | ||||
-rw-r--r-- | test/Actions/pre-post.py | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/test/Actions/append.py b/test/Actions/append.py index 0a59c42..b5d4c3a 100644 --- a/test/Actions/append.py +++ b/test/Actions/append.py @@ -30,7 +30,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" import os import stat -import sys import TestSCons _exe = TestSCons._exe diff --git a/test/Actions/pre-post.py b/test/Actions/pre-post.py index 4d22b07..358aa43 100644 --- a/test/Actions/pre-post.py +++ b/test/Actions/pre-post.py @@ -28,7 +28,6 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" import os -import stat import TestSCons |