aboutsummaryrefslogtreecommitdiffstats
path: root/bin/add_members
diff options
context:
space:
mode:
authorMark Sapiro <msapiro@value.net>2010-11-04 10:13:29 -0700
committerMark Sapiro <msapiro@value.net>2010-11-04 10:13:29 -0700
commit9483387a23b7dc01f33d95efcbc80e78e4b7479b (patch)
tree3be31a719a49c3ed901d14a6db4dcd5986dc2600 /bin/add_members
parent3d11fb78a337bc3fa3e4c43ef2d7adc1d83bdd4b (diff)
downloadmailman2-9483387a23b7dc01f33d95efcbc80e78e4b7479b.tar.gz
mailman2-9483387a23b7dc01f33d95efcbc80e78e4b7479b.tar.xz
mailman2-9483387a23b7dc01f33d95efcbc80e78e4b7479b.zip
- Fixed a missing format character in the Spanish translation.
Bug #670988. - Fixed the host name in the From: address of the owner notification from bin/add_members. Bug #666181.
Diffstat (limited to '')
-rwxr-xr-xbin/add_members7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/add_members b/bin/add_members
index 03f0af3a..77f11aff 100755
--- a/bin/add_members
+++ b/bin/add_members
@@ -1,6 +1,6 @@
#! @PYTHON@
#
-# Copyright (C) 1998-2003 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -244,7 +244,10 @@ def main():
realname = mlist.real_name
subject = _('%(realname)s subscription notification')
msg = Message.UserNotification(
- mlist.owner, Utils.get_site_email(), subject, s.getvalue(),
+ mlist.owner,
+ Utils.get_site_email(mlist.host_name),
+ subject,
+ s.getvalue(),
mlist.preferred_language)
msg.send(mlist)