diff options
| author | bwarsaw | 1999-11-10 20:22:46 +0000 |
|---|---|---|
| committer | bwarsaw | 1999-11-10 20:22:46 +0000 |
| commit | 91faddca0cda7a6e7120758983449036a4fae03c (patch) | |
| tree | ab8b3de3de7c108a1e59eb94cdccd522e2787fda /Mailman/Cgi/subscribe.py | |
| parent | 3ab3ef20d3399d1f19d76e04b4384f9df143192e (diff) | |
| download | mailman-91faddca0cda7a6e7120758983449036a4fae03c.tar.gz mailman-91faddca0cda7a6e7120758983449036a4fae03c.tar.zst mailman-91faddca0cda7a6e7120758983449036a4fae03c.zip | |
Diffstat (limited to 'Mailman/Cgi/subscribe.py')
| -rw-r--r-- | Mailman/Cgi/subscribe.py | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/Mailman/Cgi/subscribe.py b/Mailman/Cgi/subscribe.py index 25cbf9b2e..876e33cca 100644 --- a/Mailman/Cgi/subscribe.py +++ b/Mailman/Cgi/subscribe.py @@ -146,10 +146,8 @@ def main(): elif not list.nondigestable: digest = 1 - if error: PrintResults(list, results, doc) - else: try: if list.FindUser(email): @@ -178,10 +176,10 @@ def main(): except Errors.MMNeedApproval, x: results = results + ("Subscription was <em>deferred</em> " - "because:<br> %s<p>Your request must " - "be approved by the list admin. " + "because %s. Your request has been " + "forwarded to the list administrator. " "You will receive email informing you " - "of the moderator's descision when they " + "of the moderator's decision when they " "get to your request.<p>" % x) except Errors.MMHostileAddress: results = results + ("Your subscription is not allowed because " @@ -193,13 +191,16 @@ def main(): # they might -scott # except Errors.MMCantDigestError: - results = results + "No one can subscribe to the digest of this list!" + results = results + \ + "No one can subscribe to the digest of this list!" except Errors.MMMustDigestError: - results = results + "This list only supports digest subscriptions!" + results = results + \ + "This list only supports digest subscriptions!" else: - results = results + "You have been successfully subscribed to %s." % (list.real_name) - list.Save() - + results = results + \ + "You have been successfully subscribed to %s." % \ + (list.real_name) + list.Save() PrintResults(list, results, doc) list.Unlock() |
