diff options
| author | Barry Warsaw | 2009-01-01 17:58:39 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-01-01 17:58:39 -0500 |
| commit | 1c285f110d8e98597453c6b4b69ea01163033547 (patch) | |
| tree | 00c7ec16711b2073e40f593658f652726a9d4231 /mailman/Utils.py | |
| parent | 12513c7d0fc1f5d2a1aabda349637309f6e8300b (diff) | |
| parent | 600ddb503a391d70230d96ee91a631888d11b35a (diff) | |
| download | mailman-1c285f110d8e98597453c6b4b69ea01163033547.tar.gz mailman-1c285f110d8e98597453c6b4b69ea01163033547.tar.zst mailman-1c285f110d8e98597453c6b4b69ea01163033547.zip | |
Two major structural conversions.
* Use zc.buildout and zc.testing frameworks for building and testing Mailman.
* Use lazr.config as the configuration system, though this conversion is not
yet complete.
Also: move a bunch of old bin scripts to the attic.
Diffstat (limited to 'mailman/Utils.py')
| -rw-r--r-- | mailman/Utils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mailman/Utils.py b/mailman/Utils.py index 607c457d9..b53dccf92 100644 --- a/mailman/Utils.py +++ b/mailman/Utils.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2008 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2009 by the Free Software Foundation, Inc. # # This file is part of GNU Mailman. # @@ -41,7 +41,7 @@ from string import ascii_letters, digits, whitespace, Template import mailman.templates from mailman import passwords -from mailman.configuration import config +from mailman.config import config from mailman.core import errors AT = '@' @@ -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 = [] |
