diff options
| author | bwarsaw | 2001-07-18 22:05:10 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-07-18 22:05:10 +0000 |
| commit | f14beafcdd66baa8a0e693bd5a86d1577c230419 (patch) | |
| tree | d4172f4aed418c8e81cfd991327c3def2a21c8fb | |
| parent | 68340c4c29ac36eb5018a76c55849e7eb84b4ee5 (diff) | |
| download | mailman-f14beafcdd66baa8a0e693bd5a86d1577c230419.tar.gz mailman-f14beafcdd66baa8a0e693bd5a86d1577c230419.tar.zst mailman-f14beafcdd66baa8a0e693bd5a86d1577c230419.zip | |
NewVars(): Add the following attributes to MailList instances, if they
don't already have them:
- topics: a list of all admin specified topics
- topics_enabled: a flag specifying whether topics are enabled
- topics_bodylines_limit: the number of lines of the body that the
topic tagger should look for Subject: and Keywords: lines
- one_last_digest: A hold over from an earlier time, this holds
addresses of folks who switched from digest to regular
delivery
- usernames: holds the dictionary of email addresses to Real Names
but if a user has no assigned Real Name, they have no entry in
this dictionary.
| -rw-r--r-- | Mailman/versions.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Mailman/versions.py b/Mailman/versions.py index 3eb404a76..5e252e39c 100644 --- a/Mailman/versions.py +++ b/Mailman/versions.py @@ -199,6 +199,11 @@ def NewVars(l): add_only_if_missing('digest_last_sent_at', 0) add_only_if_missing('mod_password', None) add_only_if_missing('moderator', []) + add_only_if_missing('topics', []) + add_only_if_missing('topics_enabled', 0) + add_only_if_missing('topics_bodylines_limit', 5) + add_only_if_missing('one_last_digest', {}) + add_only_if_missing('usernames', {}) |
