From 812c0cb3def9c56806bff6e9c8d42a85c015ec39 Mon Sep 17 00:00:00 2001 From: Michael Hanke Date: Tue, 22 Mar 2011 12:03:08 -0400 Subject: [PATCH] make the webserver happy. --- neurodebian/dde.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neurodebian/dde.py b/neurodebian/dde.py index 143c814..f0f43c7 100755 --- a/neurodebian/dde.py +++ b/neurodebian/dde.py @@ -767,7 +767,8 @@ def write_pkgpages(jinja_env, cfg, db, outdir, addenum_dir, extracts_dir): pkgsdict, sectitle, title_tmpl = def_ hltoc.write(underline_text(sectitle, '-')) ids = pkgsdict.keys() - for id_ in np.unique(ids): + ids.sort() + for id_ in ids: label = ('pkgs-%s-%s' % (sectitle, id_)).lower().replace(' ', '_').replace('/', '_') if not len(pkgsdict[id_]): continue -- 2.39.5