[Zope-CVS] CVS: Products/WikiForNow - ZWikiPage.py:1.5

Ken Manheimer klm@zope.com
Tue, 30 Jul 2002 18:29:16 -0400


Update of /cvs-repository/Products/WikiForNow
In directory cvs.zope.org:/tmp/cvs-serv26773

Modified Files:
	ZWikiPage.py 
Log Message:
Include recipient usernames in debug header, instead of addresses.


=== Products/WikiForNow/ZWikiPage.py 1.4 => 1.5 ===
                     addrs_list.append(e)
             if not addrs_list:
                 return "No update notice sent - no email addrs resolved"
-            recipients = string.join(addrs_list, ', ')
+            recipient_addrs = string.join(addrs_list, ', ')
             num_recips = len(addrs_list)
             if num_recips == 1:
                 recips_phrase = "the only notification recipient"
@@ -1466,7 +1466,7 @@
                                                'optional_headers':
                                                optional_headers,
                                                }
-                self.MailHost.send(msg, mto=recipients)
+                self.MailHost.send(msg, mto=recipient_addrs)
                 return None
             except:
                 import sys