From dd84987f5cc0d06361c5ea97c7055a178f5922fa Mon Sep 17 00:00:00 2001 From: Jean-Paul Smets <jp@nexedi.com> Date: Sun, 30 Sep 2007 22:17:42 +0000 Subject: [PATCH] Better use of space / tabs git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16733 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/CMFCategory/Category.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/product/CMFCategory/Category.py b/product/CMFCategory/Category.py index 4ca8360b9d..42da76d3f9 100644 --- a/product/CMFCategory/Category.py +++ b/product/CMFCategory/Category.py @@ -235,14 +235,14 @@ class Category(Folder): WARNING: using these parameters can slow down significantly, because this is written in Python - + local_sort_method - When using the default preorder traversal, use this function to sort objects of the same depth. - + local_sort_id - When using the default preorder traversal, sort objects of the same depth by comparing their 'local_sort_id' property. - + Renderer parameters are also supported here. """ if is_self_excluded or ( @@ -251,7 +251,7 @@ class Category(Folder): value_list = [] else: value_list = [self] - + child_value_list = self.objectValues(self.allowed_types) if local_sort_id: local_sort_method = lambda a, b: cmp(a.getProperty(local_sort_id, 0), -- 2.30.9