summaryrefslogtreecommitdiff
path: root/Mailman/Cgi/private.py
diff options
context:
space:
mode:
authorbwarsaw2001-05-16 05:28:35 +0000
committerbwarsaw2001-05-16 05:28:35 +0000
commit5c428299332d88e67f6cd957f2567e9bdd040abd (patch)
tree39b4cdd1519de4c15b5b349dde61c723ee94da54 /Mailman/Cgi/private.py
parentf93cc7312214ea5b3d0378d20b0ece8eeac125a8 (diff)
downloadmailman-5c428299332d88e67f6cd957f2567e9bdd040abd.tar.gz
mailman-5c428299332d88e67f6cd957f2567e9bdd040abd.tar.zst
mailman-5c428299332d88e67f6cd957f2567e9bdd040abd.zip
Diffstat (limited to 'Mailman/Cgi/private.py')
-rw-r--r--Mailman/Cgi/private.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/Mailman/Cgi/private.py b/Mailman/Cgi/private.py
index e727bcf7a..77041fe80 100644
--- a/Mailman/Cgi/private.py
+++ b/Mailman/Cgi/private.py
@@ -135,11 +135,13 @@ def main():
print 'Content-type: text/html; charset=' + charset + '\n\n'
while path and path[0] == '/':
path=path[1:] # Remove leading /'s
- basepath = os.path.split(mlist.GetBaseArchiveURL())[0]
- listname = mlist.real_name
- print Utils.maketext('private.txt', vars(),
- lang=mlist.preferred_language)
- sys.exit(0)
+ print Utils.maketext(
+ 'private.html',
+ {'action' : mlist.GetScriptURL('private', absolute=1),
+ 'realname': mlist.real_name,
+ 'message' : message,
+ }, lang=mlist.preferred_language)
+ return
# Authorization confirmed... output the desired file
try: