--- a/app/soc/views/helper/lists.py Sun Oct 19 13:06:20 2008 +0000
+++ b/app/soc/views/helper/lists.py Sun Oct 19 13:14:40 2008 +0000
@@ -40,15 +40,15 @@
def getPreferredListPagination(user=None):
- """Returns User's preferred list pagination limit.
-
- Args:
- user: User entity containing the list pagination preference;
- default is None, to use the current logged-in User
- """
- # TODO: eventually this limit should be a User profile preference
- # (stored in the site-wide User Model) preference
- return DEF_PAGINATION
+ """Returns User's preferred list pagination limit.
+
+ Args:
+ user: User entity containing the list pagination preference;
+ default is None, to use the current logged-in User
+ """
+ # TODO: eventually this limit should be a User profile preference
+ # (stored in the site-wide User Model) preference
+ return DEF_PAGINATION
def cleanListParameters(offset=None, limit=None):