diff options
| author | bwarsaw | 2002-05-12 01:42:57 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-05-12 01:42:57 +0000 |
| commit | 630083b4d08d6133118125f61958267fb88f350a (patch) | |
| tree | 2fa1a83097f3bcd6692127337cfefe8c1c15329d /Mailman/Commands/cmd_help.py | |
| parent | 674fe7931ec50f0684dede61c1357dc3d45621db (diff) | |
| download | mailman-630083b4d08d6133118125f61958267fb88f350a.tar.gz mailman-630083b4d08d6133118125f61958267fb88f350a.tar.zst mailman-630083b4d08d6133118125f61958267fb88f350a.zip | |
Diffstat (limited to 'Mailman/Commands/cmd_help.py')
| -rw-r--r-- | Mailman/Commands/cmd_help.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Mailman/Commands/cmd_help.py b/Mailman/Commands/cmd_help.py index 5f5b5c579..97af851c9 100644 --- a/Mailman/Commands/cmd_help.py +++ b/Mailman/Commands/cmd_help.py @@ -38,6 +38,18 @@ def gethelp(mlist): def process(res, args): # Get the help text introduction mlist = res.mlist + # Since this message is personalized, add some useful information if the + # address requesting help is a member of the list. + msg = res.msg + for sender in msg.get_senders(): + if mlist.isMember(sender): + memberurl = mlist.GetOptionsURL(sender, absolute=1) + urlhelp = _( + 'You can access your personal options via the following url:') + res.results.append(urlhelp) + res.results.append(memberurl) + res.results.append('') + break # build the specific command helps from the module docstrings modhelps = {} import Mailman.Commands |
