From: x2000habouzit Date: Sat, 25 Sep 2004 15:55:56 +0000 (+0000) Subject: we can know how many subscribers there is, let's do it X-Git-Tag: xorg/old~1489 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=dbf22fac110d1b4f964b340babad66fb590af5f4;p=platal.git we can know how many subscribers there is, let's do it --- 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