From c508cca34719641c0303d42c8aeacaddd6c719e6 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Tue, 31 Jan 2012 22:13:30 +0100 Subject: add_to_list: clean unlock the list (else it would lock all following processes) --- util.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util.py b/util.py index 113edd6..2748b5c 100644 --- a/util.py +++ b/util.py @@ -90,5 +90,7 @@ def add_to_list(listname, listadmin): except Errors.MMHostileAddress: success = False progress = 'Could not add %s to %s: Illegal characters in email address.' + finally: + mlist.Unlock() return (success, progress % (listadmin, listname)) -- cgit v1.2.3-1-g7c22