From 93f18f6f7743d35517ae4974872db131b400f893 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Sun, 23 Jan 2005 22:14:16 +0000 Subject: [PATCH] include each row in the package table, even if there are no packages for that row; the row is commented out in that case (this makes it easier to modify the table after generation) --- Doc/tools/mkpkglist | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Doc/tools/mkpkglist b/Doc/tools/mkpkglist index 2c51ee75e88..1a1fd78f2b9 100755 --- a/Doc/tools/mkpkglist +++ b/Doc/tools/mkpkglist @@ -67,14 +67,17 @@ for name, prefix in PKG_TYPES: have_tgz = isfile(tgz_fn) have_bz2 = isfile(bz2_fn) - if have_zip or have_tgz or have_bz2: - print " %s" % name + have_some = have_zip or have_tgz or have_bz2 - print get_file_cell(prefix, ".zip", have_zip) - print get_file_cell(prefix, ".tgz", have_tgz) - print get_file_cell(prefix, ".tar.bz2", have_bz2) - - print " " + if not have_some: + print " " print '''\