~danci-emanuel/mailman/messages_support

« back to all changes in this revision

Viewing changes to src/mailman/styles/default.py

  • Committer: Emanuel Danci
  • Date: 2012-07-10 10:59:31 UTC
  • Revision ID: danci_emanuel@yahoo.com-20120710105931-y2vddu2o1xr2db79
Contains the changes needed for supporting Dynamic sublists

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    ]
26
26
 
27
27
# XXX Styles need to be reconciled with lazr.config.
28
 
 
29
 
#TODO could we add a new functionality here?
30
28
from datetime import timedelta
31
29
from zope.interface import implementer
32
30
 
81
79
from: list@listme.com
82
80
from: .*@uplinkpro.com
83
81
"""
84
 
 
85
82
        mlist.header_matches = []
86
83
        mlist.anonymous_list = False
87
84
        mlist.description = ''
136
133
        mlist.header_uri = None
137
134
        mlist.footer_uri = 'mailman:///$listname/$language/footer-generic.txt'
138
135
        # Set this to Never if the list's preferred language uses us-ascii,
139
 
        # otherwise set it to As Neededsd.
 
136
        # otherwise set it to As Needed.
140
137
        if mlist.preferred_language.charset == 'us-ascii':
141
138
            mlist.encode_ascii_prefixes = 0
142
139
        else:
227
224
        # If no other styles have matched, then the default style matches.
228
225
        if len(styles) == 0:
229
226
            styles.append(self)
230