summaryrefslogtreecommitdiff
path: root/src/mailman/handlers/to_archive.py
diff options
context:
space:
mode:
authorBarry Warsaw2012-08-20 20:46:18 -0400
committerBarry Warsaw2012-08-20 20:46:18 -0400
commit813cee543b4008967ba78be3e059b7d21d2fe1bf (patch)
tree4b9d3c9bc5f21fb514f24daa987d4ccbb8c74aa8 /src/mailman/handlers/to_archive.py
parentdf77a5a46a5b3159480536a1a822cf0a3ecc4ffc (diff)
downloadmailman-813cee543b4008967ba78be3e059b7d21d2fe1bf.tar.gz
mailman-813cee543b4008967ba78be3e059b7d21d2fe1bf.tar.zst
mailman-813cee543b4008967ba78be3e059b7d21d2fe1bf.zip
Diffstat (limited to 'src/mailman/handlers/to_archive.py')
-rw-r--r--src/mailman/handlers/to_archive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/handlers/to_archive.py b/src/mailman/handlers/to_archive.py
index 5718557fa..6b82aef61 100644
--- a/src/mailman/handlers/to_archive.py
+++ b/src/mailman/handlers/to_archive.py
@@ -45,7 +45,7 @@ class ToArchive:
"""See `IHandler`."""
# Short circuits.
if (msgdata.get('isdigest') or
- mlist.archive_policy == ArchivePolicy.never):
+ mlist.archive_policy is ArchivePolicy.never):
return
# Common practice seems to favor "X-No-Archive: yes". No other value
# for this header seems to make sense, so we'll just test for it's