[Pkg-mailman-hackers] Bug#440163: Bug#440163: newlist never passes emailhost to list creator

Thijs Kinkhorst thijs at debian.org
Sat Dec 1 18:24:03 UTC 2007


Hi Martin!

On Thursday 30 August 2007 12:58, martin f krafft wrote:
> Package: mailman
> Version: 2.1.9-7
> Severity: normal
> Tags: patch
>
> No use in determining emailhost if you don't actually pass it on.

Thanks - but a few rows below is this:
        # Assign domain-specific attributes
        mlist.host_name = host_name
(host_name is set to emailhost earlier)

emailhost can indeed be passed to Create() aswell... is there a specific 
problem you've experienced that this solved?


Thijs

> --- /tmp/newlist        2007-08-30 12:45:13.953133384 +0200
> +++ /usr/sbin/newlist   2007-08-30 12:57:23.172717565 +0200
> @@ -201,7 +201,7 @@
>          oldmask = os.umask(002)
>          try:
>              try:
> -                mlist.Create(listname, owner_mail, pw)
> +                mlist.Create(listname, owner_mail, pw,
> emailhost=emailhost) finally:
>                  os.umask(oldmask)
>          except Errors.BadListNameError, s:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-mailman-hackers/attachments/20071201/d24df11c/attachment.pgp 


More information about the Pkg-mailman-hackers mailing list