diff options
| author | viega | 1998-06-13 21:57:19 +0000 |
|---|---|---|
| committer | viega | 1998-06-13 21:57:19 +0000 |
| commit | 2f8ffdc4ad7698777e3afc14f146caab8aa4cb88 (patch) | |
| tree | ee5bdf39a92ad6add99e0bfc20203a1266254259 /cron/checkdbs | |
| parent | 901fb95186006a6bb6bfcd66bafbdbff9ccb8097 (diff) | |
| download | mailman-2f8ffdc4ad7698777e3afc14f146caab8aa4cb88.tar.gz mailman-2f8ffdc4ad7698777e3afc14f146caab8aa4cb88.tar.zst mailman-2f8ffdc4ad7698777e3afc14f146caab8aa4cb88.zip | |
Add Unlock() calls where appropriate, and add lock = 0 to MailList
constructor actuals when the list doesn't need to be locked.
Diffstat (limited to 'cron/checkdbs')
| -rwxr-xr-x | cron/checkdbs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cron/checkdbs b/cron/checkdbs index 29d41898b..802769e78 100755 --- a/cron/checkdbs +++ b/cron/checkdbs @@ -25,8 +25,7 @@ import maillist, mm_cfg, mm_message, mm_utils def main(): for name in mm_utils.list_names(): - list = maillist.MailList(name) - list.Unlock() + list = maillist.MailList(name, lock = 0) count = list.RequestsPending() if count: list.SendTextToUser(subject = '%d %s admin request(s) waiting' % |
