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 /cgi/admin | |
| 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 'cgi/admin')
| -rwxr-xr-x | cgi/admin | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -21,7 +21,7 @@ To run stand-alone for debugging, set env var PATH_INFO to name of list and, optionally, options category.""" -__version__ = "$Revision: 696 $" +__version__ = "$Revision: 732 $" import sys import os, cgi, string, crypt, types, time @@ -230,8 +230,7 @@ def FormatAdminOverview(error=None): names = mm_utils.list_names() names.sort() for n in names: - l = maillist.MailList(n) - l.Unlock() + l = maillist.MailList(n, lock=0) if l.advertised: advertised.append(l) if error: |
