summaryrefslogtreecommitdiff
path: root/src/mailman/app/lifecycle.py
diff options
context:
space:
mode:
authorBarry Warsaw2010-05-06 14:11:22 -0400
committerBarry Warsaw2010-05-06 14:11:22 -0400
commit9438b52914daf19414c61273a741b657c73a877d (patch)
tree434ded29bc172abe7d2abe420b2b4945add925bc /src/mailman/app/lifecycle.py
parentda66a87d60b6e9fdc074ec5d76f8247a7be01e28 (diff)
downloadmailman-9438b52914daf19414c61273a741b657c73a877d.tar.gz
mailman-9438b52914daf19414c61273a741b657c73a877d.tar.zst
mailman-9438b52914daf19414c61273a741b657c73a877d.zip
Diffstat (limited to 'src/mailman/app/lifecycle.py')
-rw-r--r--src/mailman/app/lifecycle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/app/lifecycle.py b/src/mailman/app/lifecycle.py
index 2b063d21d..6e50de9fe 100644
--- a/src/mailman/app/lifecycle.py
+++ b/src/mailman/app/lifecycle.py
@@ -91,7 +91,7 @@ def remove_list(fqdn_listname, mailing_list=None, archives=True):
"""Remove the list and all associated artifacts and subscriptions."""
removeables = []
# mailing_list will be None when only residual archives are being removed.
- if mailing_list:
+ if mailing_list is not None:
# Remove all subscriptions, regardless of role.
for member in mailing_list.subscribers.members:
member.unsubscribe()