From: Michael Hanke <michael.hanke@gmail.com>
Date: Tue, 22 Mar 2011 16:03:08 +0000 (-0400)
Subject: make the webserver happy.
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=812c0cb3def9c56806bff6e9c8d42a85c015ec39;p=neurodebian.git

make the webserver happy.
---

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