diff options
| author | Barry Warsaw | 2008-12-22 23:26:58 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2008-12-22 23:26:58 -0500 |
| commit | fd600d3952393dc9808fefb9be871f78cdbdff39 (patch) | |
| tree | 1c404608ccfbe640a3816859d3257025b0c4b353 /mailman/Utils.py | |
| parent | dfccf2b7d2b5749c86267645aaf870f128dab2d8 (diff) | |
| download | mailman-fd600d3952393dc9808fefb9be871f78cdbdff39.tar.gz mailman-fd600d3952393dc9808fefb9be871f78cdbdff39.tar.zst mailman-fd600d3952393dc9808fefb9be871f78cdbdff39.zip | |
Convert more configuration variables to lazr.config.
Add .push() and .pop() methods to the Configuration object.
Put the 'config' object in the globals of doctests.
Add some test layers for setting up the configuration and the SMTP server.
Diffstat (limited to '')
| -rw-r--r-- | mailman/Utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mailman/Utils.py b/mailman/Utils.py index d7c193799..f03e14d07 100644 --- a/mailman/Utils.py +++ b/mailman/Utils.py @@ -475,7 +475,7 @@ def findtext(templatefile, dict=None, raw=False, lang=None, mlist=None): languages.add(lang) if mlist is not None: languages.add(mlist.preferred_language) - languages.add(config.DEFAULT_SERVER_LANGUAGE) + languages.add(config.mailman.default_language) assert None not in languages, 'None in languages' # Calculate the locations to scan searchdirs = [] |
