summaryrefslogtreecommitdiff
path: root/src/mailman/styles/base.py
diff options
context:
space:
mode:
authorAbhilash Raj2014-09-25 18:36:24 +0530
committerAbhilash Raj2014-09-25 18:36:24 +0530
commit95fc64b4894e5985bb8d0e5e944b2cda38c9a58c (patch)
tree697f18eb33eddc8a16e2b09f4b4be4aaf0cf0dbe /src/mailman/styles/base.py
parentf2c619de76bd1614a6609f1a61e34ecf8a4344fc (diff)
downloadmailman-95fc64b4894e5985bb8d0e5e944b2cda38c9a58c.tar.gz
mailman-95fc64b4894e5985bb8d0e5e944b2cda38c9a58c.tar.zst
mailman-95fc64b4894e5985bb8d0e5e944b2cda38c9a58c.zip
Diffstat (limited to 'src/mailman/styles/base.py')
-rw-r--r--src/mailman/styles/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/styles/base.py b/src/mailman/styles/base.py
index d83b2e2a5..4f051c13c 100644
--- a/src/mailman/styles/base.py
+++ b/src/mailman/styles/base.py
@@ -67,9 +67,9 @@ class Identity:
# Set this to Never if the list's preferred language uses us-ascii,
# otherwise set it to As Needed.
if mlist.preferred_language.charset == 'us-ascii':
- mlist.encode_ascii_prefixes = 0
+ mlist.encode_ascii_prefixes = False
else:
- mlist.encode_ascii_prefixes = 2
+ mlist.encode_ascii_prefixes = True