From 98c79ede25f2ddfb088b2b57aa531479cfc30d9c Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Wed, 11 Oct 2006 10:45:04 +0000 Subject: [PATCH] merge fix git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@966 839d8a87-29fc-0310-9880-83ba4fa771e5 --- bin/lists.rpc.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/lists.rpc.py b/bin/lists.rpc.py index 30a9b25..6a855fa 100755 --- a/bin/lists.rpc.py +++ b/bin/lists.rpc.py @@ -818,6 +818,10 @@ def create_list(userdesc, perms, vhost, listname, desc, advertise, modlevel, ins mlist.Unlock() + if ON_CREATE_CMD != '': + try: os.system(ON_CREATE_CMD + ' ' + name) + except: pass + check_options(userdesc, perms, vhost, listname.lower(), True) mass_subscribe(userdesc, perms, vhost, listname.lower(), members) @@ -826,9 +830,6 @@ def create_list(userdesc, perms, vhost, listname, desc, advertise, modlevel, ins mlist._UpdateRecords() mlist.Save() mlist.Unlock() - if ON_CREATE_CMD != '': - try: os.system(ON_CREATE_CMD + ' ' + name) - except: pass except: try: mlist.Unlock() -- 2.1.4