From dbf22fac110d1b4f964b340babad66fb590af5f4 Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Sat, 25 Sep 2004 15:55:56 +0000 Subject: [PATCH] we can know how many subscribers there is, let's do it --- scripts/mailman/mailman-rpc.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/mailman/mailman-rpc.py b/scripts/mailman/mailman-rpc.py index 4f08a18..5fbccc4 100755 --- a/scripts/mailman/mailman-rpc.py +++ b/scripts/mailman/mailman-rpc.py @@ -18,7 +18,7 @@ #* Foundation, Inc., * #* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * #*************************************************************************** -# $Id: mailman-rpc.py,v 1.39 2004-09-25 10:13:28 x2000habouzit Exp $ +# $Id: mailman-rpc.py,v 1.40 2004-09-25 15:55:56 x2000habouzit Exp $ #*************************************************************************** import base64, MySQLdb, os, getopt, sys, MySQLdb.converters @@ -140,7 +140,8 @@ def get_list_info((userdesc,perms),mlist): 'ins' : mlist.subscribe_policy > 1, 'priv' : (1-mlist.advertised)+2*is_admin, 'sub' : is_pending + 2*is_member, - 'own' : is_owner + 'own' : is_owner, + 'nbsub': len(members) } return (details,members) return 0 -- 2.1.4