[Debian-astro-commits] [cpl-plugin-xsh] 02/03: Correct sort call

Ole Streicher olebole at moszumanska.debian.org
Mon Jul 20 13:48:44 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-xsh.

commit 739abd472371d76e35d0980168d11fdcb1e2d7e3
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Mon Jul 20 14:31:34 2015 +0200

    Correct sort call
---
 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 bb0f300..864d25d 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(lambda x: x.__name__)
+recipes_x.sort(key = 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-xsh.git



More information about the Debian-astro-commits mailing list