[Debian-astro-commits] [cpl-plugin-kmos] 01/04: Reproducibly sort recipes in pshinx output. CLoses: #792932-792942

Ole Streicher olebole at moszumanska.debian.org
Mon Jul 20 13:06:15 UTC 2015


This is an automated email from the git hooks/post-receive script.

olebole pushed a commit to branch debian
in repository cpl-plugin-kmos.

commit 4d36903bbed4cb818fb3c78453ecbdc32ecae2b1
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Mon Jul 20 14:10:23 2015 +0200

    Reproducibly sort recipes in pshinx output. CLoses: #792932-792942
---
 debian/create_sphinx.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/create_sphinx.py b/debian/create_sphinx.py
index cf72d4e..bb0f300 100644
--- a/debian/create_sphinx.py
+++ b/debian/create_sphinx.py
@@ -146,7 +146,7 @@ index = [ oca.find(recipe.__name__) for recipe in recipes_oca ]
 recipes_oca = [r for (i, r) in sorted(zip(index, recipes_oca))]
 
 recipes_x = [recipe for recipe in recipes if not recipe.__name__ in oca]
-recipes_x.sort()
+recipes_x.sort(lambda x: x.__name__)
 
 def par(recipe, template, delimiter = "", count = None):
     return delimiter.join(template.format(

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/cpl-plugin-kmos.git



More information about the Debian-astro-commits mailing list