summaryrefslogtreecommitdiffstats
path: root/bin/scons-proc.py
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2020-03-13 14:45:22 (GMT)
committerMats Wichmann <mats@linux.com>2020-03-13 14:45:22 (GMT)
commit3ac4e188a7d00449ad22ef690384eae422783376 (patch)
treea29a7b97028f55a37cfa7e6144cc1a779ed9145b /bin/scons-proc.py
parentd517e0b27a06e7ea71cbfc3d295068758092f7a1 (diff)
downloadSCons-3ac4e188a7d00449ad22ef690384eae422783376.zip
SCons-3ac4e188a7d00449ad22ef690384eae422783376.tar.gz
SCons-3ac4e188a7d00449ad22ef690384eae422783376.tar.bz2
Fix the packagers table again. [ci skip]
Trying yet another layout to make it look better. Minor tweaks to the doc production tools - dropping some very old usage (pre-Python-2.5). Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'bin/scons-proc.py')
-rw-r--r--bin/scons-proc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/scons-proc.py b/bin/scons-proc.py
index d8b37df..23e092d 100644
--- a/bin/scons-proc.py
+++ b/bin/scons-proc.py
@@ -143,13 +143,13 @@ class SCons_XML(object):
added = True
stf.appendNode(vl, stf.copyNode(s))
- if len(v.sets):
+ if v.sets:
added = True
vp = stf.newNode("para")
s = ['&cv-link-%s;' % x for x in v.sets]
stf.setText(vp, 'Sets: ' + ', '.join(s) + '.')
stf.appendNode(vl, vp)
- if len(v.uses):
+ if v.uses:
added = True
vp = stf.newNode("para")
u = ['&cv-link-%s;' % x for x in v.uses]