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 /SCons/Tool/linkCommon/__init__.py | |
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 'SCons/Tool/linkCommon/__init__.py')
-rw-r--r-- | SCons/Tool/linkCommon/__init__.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/SCons/Tool/linkCommon/__init__.py b/SCons/Tool/linkCommon/__init__.py index f11aa14..f66ad6d 100644 --- a/SCons/Tool/linkCommon/__init__.py +++ b/SCons/Tool/linkCommon/__init__.py @@ -46,7 +46,6 @@ def _call_linker_cb(env, callback, args, result=None): except (KeyError, TypeError): if Verbose: print('_call_linker_cb: env["LINKCALLBACKS"][%r] not found or can not be used' % callback) - pass else: if Verbose: print('_call_linker_cb: env["LINKCALLBACKS"][%r] found' % callback) |