summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2000-06-14 05:31:47 +0000
committerbwarsaw2000-06-14 05:31:47 +0000
commitf3a7c88ebf2f386b8cefee07cc5f2f2e77a7d6c1 (patch)
treec26bde93d8fb3b28378fccff5ec3a7d3b0c25ced
parent3b9fb74f7d3aafa3e528615b441e9a49edfbfc18 (diff)
downloadmailman-f3a7c88ebf2f386b8cefee07cc5f2f2e77a7d6c1.tar.gz
mailman-f3a7c88ebf2f386b8cefee07cc5f2f2e77a7d6c1.tar.zst
mailman-f3a7c88ebf2f386b8cefee07cc5f2f2e77a7d6c1.zip
__handlesubscription(): Change the sense of the `value' parameter to
match the change in admindb.py (`subscribe' comes before `refuse').
-rw-r--r--Mailman/ListAdmin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/ListAdmin.py b/Mailman/ListAdmin.py
index ff453c4d6..f1cf0d59d 100644
--- a/Mailman/ListAdmin.py
+++ b/Mailman/ListAdmin.py
@@ -262,12 +262,12 @@ class ListAdmin:
def __handlesubscription(self, record, value, comment):
stime, addr, password, digest = record
- if value == 0:
+ if value == 1:
# refused
self.__refuse('Subscription request', addr, comment)
else:
# subscribe
- assert value == 1
+ assert value == 0
self.ApprovedAddMember(addr, password, digest)