~tgc/mailman/2.1-da

« back to all changes in this revision

Viewing changes to Mailman/Handlers/WrapMessage.py

  • Committer: Mark Sapiro
  • Date: 2013-09-28 23:08:15 UTC
  • Revision ID: mark@msapiro.net-20130928230815-86m44evqe74e4b4e
Tags: 2.1.16rc3
Renamed author_is_list to from_is_list.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
 
36
36
 
37
37
def process(mlist, msg, msgdata):
38
 
    if not mm_cfg.ALLOW_AUTHOR_IS_LIST or mlist.author_is_list != 2:
 
38
    if not mm_cfg.ALLOW_FROM_IS_LIST or mlist.from_is_list != 2:
39
39
        return
40
40
 
41
41
    # There are various headers in msg that we don't want, so we basically