#!/usr/bin/env python
#***************************************************************************
-#* Copyright (C) 2003-2010 Polytechnique.org *
+#* Copyright (C) 2003-2011 Polytechnique.org *
#* http://opensource.polytechnique.org/ *
#* *
#* This program is free software; you can redistribute it and/or modify *
"""
infos = get_list_info(userdesc, perms, mlist)
if infos is None:
- return None
+ # Do not return None, this is not serializable
+ return 0
details, members = infos
members.sort()
members = map(lambda member: (get_name(member), member), members)