From 90c29b32ecf70e5c6987cc1bcbbba12a28c37dc9 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 11 Feb 2011 08:28:13 -0500 Subject: [PATCH] ENH: Datasets -> Datasets (data) -- to be inline with others and hint on the suite name --- neurodebian.cfg | 2 +- neurodebian/dde.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/neurodebian.cfg b/neurodebian.cfg index 891d007..6330bfe 100644 --- a/neurodebian.cfg +++ b/neurodebian.cfg @@ -76,7 +76,7 @@ releases = [release codenames] # the 'data' entry should not be changed, as this exact setting also serves as # a test condition in the DDE code -data = Datasets +data = Datasets (data) etch = Debian GNU/Linux 4.0 (etch) lenny = Debian GNU/Linux 5.0 (lenny) squeeze = Debian GNU/Linux 6.0 (squeeze) diff --git a/neurodebian/dde.py b/neurodebian/dde.py index 86aafcd..aac6a64 100755 --- a/neurodebian/dde.py +++ b/neurodebian/dde.py @@ -675,7 +675,7 @@ def write_pkgpages(jinja_env, cfg, db, outdir, addenum_dir, extracts_dir): # this is a fragile test toc.write(toc_template.render( pkgs=[k for k in db.keys() - if not ('Datasets', 'neurodebian-data') in db[k]])) + if not ('Datasets (data)', 'neurodebian-data') in db[k]])) toc.close() # and now only for dataset packages toc_template = jinja_env.get_template('datasets_toc.rst') @@ -683,7 +683,7 @@ def write_pkgpages(jinja_env, cfg, db, outdir, addenum_dir, extracts_dir): # this is a fragile test toc.write(toc_template.render( pkgs=[k for k in db.keys() - if ('Datasets', 'neurodebian-data') in db[k]])) + if ('Datasets (data)', 'neurodebian-data') in db[k]])) toc.close() -- 2.39.2