summaryrefslogtreecommitdiffstats
path: root/SCons/Tool/jar.py
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2022-01-24 21:06:37 (GMT)
committerMats Wichmann <mats@linux.com>2022-01-24 21:06:37 (GMT)
commit08a5946e09cf6bce2af218da94834ac38aca0eda (patch)
treec467c9e45d7cc4ff74d2bee476b292bb38084232 /SCons/Tool/jar.py
parentba5915c606c29d2490ce65782e4db861249a9b78 (diff)
downloadSCons-08a5946e09cf6bce2af218da94834ac38aca0eda.zip
SCons-08a5946e09cf6bce2af218da94834ac38aca0eda.tar.gz
SCons-08a5946e09cf6bce2af218da94834ac38aca0eda.tar.bz2
Fix ci complaint for PR #4089
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'SCons/Tool/jar.py')
-rw-r--r--SCons/Tool/jar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/SCons/Tool/jar.py b/SCons/Tool/jar.py
index 7f58dc3..3a75be7 100644
--- a/SCons/Tool/jar.py
+++ b/SCons/Tool/jar.py
@@ -105,7 +105,7 @@ def Jar(env, target=None, source=[], *args, **kw):
# jar target should not be a list so assume they passed
# no target and want implicit target to be made and the arg
# was actaully the list of sources
- if SCons.Util.is_List(target) and source is None:
+ if SCons.Util.is_List(target) and source is []:
SCons.Warnings.warn(
SCons.Warnings.SConsWarning,
"Making implicit target jar file, and treating the list as sources"