summaryrefslogtreecommitdiffstats
path: root/SCons/Action.py
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2021-05-05 14:37:22 (GMT)
committerMats Wichmann <mats@linux.com>2021-05-05 17:33:26 (GMT)
commitd7b1df36e2faf84c2b1789658300ceef90605997 (patch)
tree19d526d9ba9a771f305578f852fa2e6d01894f59 /SCons/Action.py
parentf046cf47ded412a0b96edb560ed7bb2daf72ccfb (diff)
downloadSCons-d7b1df36e2faf84c2b1789658300ceef90605997.zip
SCons-d7b1df36e2faf84c2b1789658300ceef90605997.tar.gz
SCons-d7b1df36e2faf84c2b1789658300ceef90605997.tar.bz2
Fix some imports and other checker warnings
* Removed a number of imports reported as unused. * Reorganize imports in a few places. * Checker reported warnings problems ("Instantiating an exception, but not raising it, has no effect"): serveral tool modules instantiated a warning class thinking (?) it would issue the warning; changed these to the standard use - calling the warn() function with the warnclass as an arg. * Tool modules that were touched had the copyright header munging applied. * Removed irritating "####" lines from gettext and msgfmt tools. Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'SCons/Action.py')
-rw-r--r--SCons/Action.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/SCons/Action.py b/SCons/Action.py
index c5d3ea9..67eeb1d 100644
--- a/SCons/Action.py
+++ b/SCons/Action.py
@@ -106,7 +106,6 @@ import re
import sys
import subprocess
from subprocess import DEVNULL
-import itertools
import inspect
from collections import OrderedDict