diff options
| author | mailman | 1998-03-05 01:25:32 +0000 |
|---|---|---|
| committer | mailman | 1998-03-05 01:25:32 +0000 |
| commit | df22c7304e90159e951e0d7ed0fd8902de66bba6 (patch) | |
| tree | 74f0e6ab9c2872e2bd81574f1101268f60c08386 /modules/maillist.py | |
| parent | ce1ded3e5d3d6147e92e224b00facaca48d5e054 (diff) | |
| download | mailman-df22c7304e90159e951e0d7ed0fd8902de66bba6.tar.gz mailman-df22c7304e90159e951e0d7ed0fd8902de66bba6.tar.zst mailman-df22c7304e90159e951e0d7ed0fd8902de66bba6.zip | |
Checked-in mm_cfg.py moved to mm_cfg.py.dist, so it never clobbers
site's customized version. New sites can use mm_cfg.py.dist as an
example, conversely.
Diffstat (limited to 'modules/maillist.py')
| -rw-r--r-- | modules/maillist.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/maillist.py b/modules/maillist.py index 807e17eb3..5a50b7593 100644 --- a/modules/maillist.py +++ b/modules/maillist.py @@ -4,9 +4,15 @@ # list once, but it sucked hard, because you'd see the footer 100 # times in each digest. +try: + import mm_cfg +except ImportError: + raise RuntimeError, ('missing mm_cfg - has mm_cfg_dist been configured ' + 'for the site?') + import sys, os, marshal, string, posixfile, time import re -import mm_cfg, mm_utils, mm_err +import mm_utils, mm_err from mm_admin import ListAdmin from mm_deliver import Deliverer |
