[Mailman-Users] trying to disable web interface...

Barry A. Warsaw barry at python.org
Fri Jan 24 07:13:18 CET 2003


>>>>> "JM" == John Minkle <John_Minkle at huntalternatives.org> writes:

    | Traceback (most recent call last):
    |   File "/var/mailman/cron/qrunner", line 83, in ?
    |     from Mailman import mm_cfg
    |   File "/var/mailman/Mailman/mm_cfg.py", line 68
    |     DEFAULT_MSG_FOOTER = 
    | """_______________________________________________
    |  ^
    | SyntaxError: invalid syntax

This is one of the rare situations where you need a backslash at the
end of a line.  Here are two ways to write this:

DEFAULT_MSG_FOOTER = """\
---------

or

DEFAULT_MSG_FOOTER = \
"""---------

-Barry



More information about the Mailman-Users mailing list