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/options | |
| 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/options')
| -rwxr-xr-x | cgi/options | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cgi/options b/cgi/options index 2464e8ade..2dcf3d666 100755 --- a/cgi/options +++ b/cgi/options @@ -67,6 +67,7 @@ if not list._ready: doc.AddItem(htmlformat.Header(2, "Error")) doc.AddItem(htmlformat.Bold("%s: No such list." % list_name )) print doc.Format() + list.Unlock() sys.exit(0) if string.lower(user) not in list.members + list.digest_members: @@ -75,6 +76,7 @@ if string.lower(user) not in list.members + list.digest_members: % (list_name, `user`))) doc.AddItem(list.GetMailmanFooter()) print doc.Format() + list.Unlock() sys.exit(0) # Re-obscure the user's address for the page banner if obscure_addresses set. @@ -129,3 +131,5 @@ replacements['<mm-email-my-pw>'] = list.FormatButton('emailpw', doc.AddItem(list.ParseTags('options.html', replacements)) print doc.Format() + +list.Unlock()
\ No newline at end of file |
