diff options
| author | bwarsaw | 2000-06-28 21:48:12 +0000 |
|---|---|---|
| committer | bwarsaw | 2000-06-28 21:48:12 +0000 |
| commit | 9bc6bff2bb99bf8b3ef2ed6f97b53662a14d55b1 (patch) | |
| tree | e9747df4b7267c0dbb2405722c9ebf3063a24dcb /Mailman/ListAdmin.py | |
| parent | 1714c89a42ce78fafd40d7b48bba8d5043a2dc99 (diff) | |
| download | mailman-9bc6bff2bb99bf8b3ef2ed6f97b53662a14d55b1.tar.gz mailman-9bc6bff2bb99bf8b3ef2ed6f97b53662a14d55b1.tar.zst mailman-9bc6bff2bb99bf8b3ef2ed6f97b53662a14d55b1.zip | |
__handlesubscription(): When subscribing the addr, ApprovedAddMember()
will end up calling SaveRequestsDb() which closes the database. The
hack is to re-open the database so that the del in HandleRequest()
doesn't fail.
Diffstat (limited to 'Mailman/ListAdmin.py')
| -rw-r--r-- | Mailman/ListAdmin.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Mailman/ListAdmin.py b/Mailman/ListAdmin.py index caba19cdf..13a7a7f36 100644 --- a/Mailman/ListAdmin.py +++ b/Mailman/ListAdmin.py @@ -308,6 +308,9 @@ class ListAdmin: # subscribe assert value == mm_cfg.SUBSCRIBE self.ApprovedAddMember(addr, password, digest) + # TBD: disgusting hack: ApprovedAddMember() can end up closing the + # request database. + self.__opendb() return REMOVE def __refuse(self, request, recip, comment, origmsg=None): |
