[Mailman-Users] Problem with 2.1 beta 4
Barry A. Warsaw
barry at python.org
Wed Oct 30 17:37:09 CET 2002
Or apply this patch:
Index: checkdbs
===================================================================
RCS file: /cvsroot/mailman/mailman/cron/checkdbs,v
retrieving revision 2.16
retrieving revision 2.17
diff -u -r2.16 -r2.17
--- checkdbs 28 Oct 2002 02:57:33 -0000 2.16
+++ checkdbs 28 Oct 2002 03:43:42 -0000 2.17
@@ -23,12 +23,12 @@
import sys
import time
from types import UnicodeType
-from email.Charset import Charset
import paths
-# mm_cfg must be imported before the other modules, due to the side-effect of
-# it hacking sys.paths to include site-packages. Without this, running this
-# script from cron with python -S will fail.
+
+# Import this after paths so we get Mailman's copy of the email package
+from email.Charset import Charset
+
from Mailman import mm_cfg
from Mailman import Utils
from Mailman import MailList
More information about the Mailman-Users
mailing list