diff -r fc63b80ec979 -r 1d25e928c299 web/box.py --- a/web/box.py Mon Sep 14 11:25:56 2009 +0200 +++ b/web/box.py Tue Sep 15 15:01:41 2009 +0200 @@ -57,7 +57,8 @@ result = [] actions_by_cat = {} for action in actions: - actions_by_cat.setdefault(action.category, []).append((action.title, action)) + actions_by_cat.setdefault(action.category, []).append( + (action.title, action) ) for key, values in actions_by_cat.items(): actions_by_cat[key] = [act for title, act in sorted(values)] for cat in self.categories_in_order: