changeset 1438:78f636ab2490

Backed out changeset e60af4382f631e0b89117e95d3e150c9f4c92c03
author Franz Pletz <fpletz AT franz-pletz DOT org>
date Mon, 21 Aug 2006 12:11:57 +0200
parents e60af4382f63
children 4fc836cd3ba7
files MoinMoin/macro/AdvancedSearch.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/AdvancedSearch.py	Mon Aug 21 12:10:18 2006 +0200
+++ b/MoinMoin/macro/AdvancedSearch.py	Mon Aug 21 12:11:57 2006 +0200
@@ -63,7 +63,7 @@
         u'<option value="" selected>%s</option>' % _('any language'),
         ''.join(['<option value="%s">%s</option>' % lt for lt in
             [(userlang, langs[userlang])] + sorted(langs.items(),
-                cmp=lambda i,j : cmp(i[1], j[1]))]),
+                key=lambda i: i[1])]),
         u'</select>',
     ])