From 8b4ac75f6b280e644a043bf776b7971aa3247f6d Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Sat, 25 Sep 2004 21:29:29 +0000 Subject: [PATCH] finally: semantics is ... surprising --- 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 a1043e7..54546f4 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.43 2004-09-25 20:59:09 x2000habouzit Exp $ +# $Id: mailman-rpc.py,v 1.44 2004-09-25 21:29:29 x2000habouzit Exp $ #*************************************************************************** import base64, MySQLdb, os, getopt, sys, MySQLdb.converters, sha @@ -210,7 +210,8 @@ def get_lists((userdesc,perms),vhost): try: details = get_list_info((userdesc,perms),mlist)[0] result.append(details) - finally: + mlist.Unlock() + except: mlist.Unlock() return result -- 2.1.4