Commit aa912dd9 authored by Rémy Léone's avatar Rémy Léone

Use list litteral for list creation

parent a1ac0eae
......@@ -38,9 +38,7 @@ def process(mlist, msg, msgdata):
if not mlist.topics_enabled:
return
# Extract the Subject:, Keywords:, and possibly body text
matchlines = []
matchlines.append(msg.get('subject', None))
matchlines.append(msg.get('keywords', None))
matchlines = [msg.get('subject', None), msg.get('keywords', None)]
if mlist.topics_bodylines_limit == 0:
# Don't scan any body lines
pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment