From 2f8ffdc4ad7698777e3afc14f146caab8aa4cb88 Mon Sep 17 00:00:00 2001 From: viega Date: Sat, 13 Jun 1998 21:57:19 +0000 Subject: Add Unlock() calls where appropriate, and add lock = 0 to MailList constructor actuals when the list doesn't need to be locked. --- scripts/post | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scripts/post') diff --git a/scripts/post b/scripts/post index 570fc208f..24184664b 100755 --- a/scripts/post +++ b/scripts/post @@ -71,6 +71,7 @@ try: or err_msg == mm_err.FORBIDDEN_SENDER_MSG): # Do not send hold-for-approval notices for moderated messages # or potential spam. + current_list.Unlock() sys.exit(0) the_sender = msg.GetSender() @@ -100,7 +101,4 @@ notification of the moderator's decison. # Let another process run. finally: current_list.Unlock() - - - -- cgit v1.3