From 0d3ed4cecefbce4507ad05b8e090d06e4047023b Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Mon, 3 May 1999 18:21:03 +0000 Subject: current_list => mlist comment clarification --- scripts/owner | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'scripts/owner') diff --git a/scripts/owner b/scripts/owner index 3a703a184..fd5894a36 100755 --- a/scripts/owner +++ b/scripts/owner @@ -37,16 +37,14 @@ try: except IOError: pass # Oh well - SOL on redirect, errors show thru. -# Only let one program run at once per list. - -# TODO: This *can* fail, and should send back an error message when it does. -current_list = MailList.MailList(sys.argv[1]) +# Only let one program per list run at any one time. TBD: This *can* fail, +# and should send back an error message when it does. +mlist = MailList.MailList(sys.argv[1]) try: msg = Message.IncomingMessage() - if not current_list.bounce_processing or not current_list.ScanMessage(msg): - current_list.DeliverToOwner(msg, current_list.owner) + if not mlist.bounce_processing or not mlist.ScanMessage(msg): + mlist.DeliverToOwner(msg, mlist.owner) # Let another process run. finally: - current_list.Unlock() - + mlist.Unlock() -- cgit v1.2.3-70-g09d2