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/listinfo | |
| 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/listinfo')
| -rwxr-xr-x | cgi/listinfo | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cgi/listinfo b/cgi/listinfo index a51e77fb7..b32cfbfd1 100755 --- a/cgi/listinfo +++ b/cgi/listinfo @@ -50,7 +50,7 @@ def main(): list_name = string.lower(list_info[0]) try: - list = maillist.MailList(list_name) + list = maillist.MailList(list_name, lock=0) except: list = None @@ -83,8 +83,7 @@ def FormatListinfoOverview(error=None): http_host = None for n in names: - l = maillist.MailList(n) - l.Unlock() + l = maillist.MailList(n, lock = 0) if l.advertised: if (http_host and (string.find(http_host, l.host_name) == -1 |
