diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-01-31 22:13:30 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2012-01-31 22:14:21 +0100 |
commit | c508cca34719641c0303d42c8aeacaddd6c719e6 (patch) | |
tree | 23e1b961d515d7e3cce4d62741e8b786e98541a9 | |
parent | 788f093d729efde940bc35d14a4df4053c2b4a6c (diff) | |
download | sites-c508cca34719641c0303d42c8aeacaddd6c719e6.tar.gz sites-c508cca34719641c0303d42c8aeacaddd6c719e6.tar.bz2 sites-c508cca34719641c0303d42c8aeacaddd6c719e6.zip |
add_to_list: clean unlock the list (else it would lock all following processes)
-rw-r--r-- | util.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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)) |