diff options
| author | bwarsaw | 2000-06-14 05:31:47 +0000 |
|---|---|---|
| committer | bwarsaw | 2000-06-14 05:31:47 +0000 |
| commit | f3a7c88ebf2f386b8cefee07cc5f2f2e77a7d6c1 (patch) | |
| tree | c26bde93d8fb3b28378fccff5ec3a7d3b0c25ced | |
| parent | 3b9fb74f7d3aafa3e528615b441e9a49edfbfc18 (diff) | |
| download | mailman-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.py | 4 |
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) |
