Update of /cvsroot/mailman/mailman/Mailman/Cgi
In directory usw-pr-cvs1:/tmp/cvs-serv4471
Modified Files:
create.py
Log Message:
process_request(): When trying to find the mapping from url-host to
email host name, if there is no mapping in the VIRTUAL_HOSTS table,
use DEFAULT_EMAIL_HOST instead of the url-host. Closes SF bug #530949.
Index: create.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Cgi/create.py,v
retrieving revision 2.16
retrieving revision 2.17
diff -C2 -d -r2.16 -r2.17
*** create.py 12 Mar 2002 19:21:57 -0000 2.16
--- create.py 5 Apr 2002 05:37:34 -0000 2.17
***************
*** 197,201 ****
mlist.default_member_moderation = moderate
mlist.web_page_url = mm_cfg.DEFAULT_URL_PATTERN % hostname
! mlist.host_name = mm_cfg.VIRTUAL_HOSTS.get(hostname, hostname)
mlist.Save()
finally:
--- 197,202 ----
mlist.default_member_moderation = moderate
mlist.web_page_url = mm_cfg.DEFAULT_URL_PATTERN % hostname
! mlist.host_name = mm_cfg.VIRTUAL_HOSTS.get(
! hostname, mm_cfg.DEFAULT_EMAIL_HOST)
mlist.Save()
finally:
_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-checkins