summaryrefslogtreecommitdiffstats
path: root/doc/SConscript
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2019-12-21 18:56:08 (GMT)
committerMats Wichmann <mats@linux.com>2019-12-21 18:56:08 (GMT)
commit7ba3919aa8d401d07c6920c6b84dc657a381cb5e (patch)
tree5281ec8b6cd06b418c4b8ecb004fcc9949fa9a77 /doc/SConscript
parent7967da09b1447e2ac452c01fd1e0aa040b70fa5f (diff)
downloadSCons-7ba3919aa8d401d07c6920c6b84dc657a381cb5e.zip
SCons-7ba3919aa8d401d07c6920c6b84dc657a381cb5e.tar.gz
SCons-7ba3919aa8d401d07c6920c6b84dc657a381cb5e.tar.bz2
checker fixes: None, trailing ws, list init
checker-suggested fixes: Mostly, fix remaining instances of comparing none without "is" Some trailing whitespace on lines A couple of instances of list init followed immediately by several appends, turned into a single list init Some double comparisons turned into a single expression Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'doc/SConscript')
-rw-r--r--doc/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/SConscript b/doc/SConscript
index 51ef2db..ff29a70 100644
--- a/doc/SConscript
+++ b/doc/SConscript
@@ -525,7 +525,7 @@ if not epydoc_cli:
# first arg is a list where can be names of python package dirs,
# python files, object names or objects itself
docindex = build_doc_index([str(src) for src in source])
- if docindex == None:
+ if docindex is None:
return -1
if env['EPYDOCFLAGS'] == '--html':