summaryrefslogtreecommitdiff
path: root/Mailman/MailList.py
diff options
context:
space:
mode:
authorbwarsaw2007-05-30 17:14:09 +0000
committerbwarsaw2007-05-30 17:14:09 +0000
commit8c1fa18658dc730b53ddbb4766549a4fe595e453 (patch)
treea941431f0da9ae41ab554cc34571774662e1296c /Mailman/MailList.py
parent1eba70e9d11c8bd6e6e6a6c3ab6ad489896950d5 (diff)
downloadmailman-8c1fa18658dc730b53ddbb4766549a4fe595e453.tar.gz
mailman-8c1fa18658dc730b53ddbb4766549a4fe595e453.tar.zst
mailman-8c1fa18658dc730b53ddbb4766549a4fe595e453.zip
Diffstat (limited to 'Mailman/MailList.py')
-rw-r--r--Mailman/MailList.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py
index 343040157..0e57aa0a8 100644
--- a/Mailman/MailList.py
+++ b/Mailman/MailList.py
@@ -51,7 +51,6 @@ from Mailman import Version
from Mailman import database
from Mailman.UserDesc import UserDesc
from Mailman.configuration import config
-from Mailman.database.tables.languages import Language
from Mailman.interfaces import *
# Base classes
@@ -1417,6 +1416,8 @@ bad regexp in bounce_matching_header line: %s
# Multilingual (i18n) support
#
def set_languages(self, *language_codes):
+ # XXX FIXME not to use a database entity directly.
+ from Mailman.database.model import Language
# Don't use the language_codes property because that will add the
# default server language. The effect would be that the default
# server language would never get added to the list's list of