[CMF-checkins] CVS: CMF/CMFCollector - CollectorIssue.py:1.48
Ken Manheimer
klm@zope.com
Thu, 7 Nov 2002 16:49:11 -0500
Update of /cvs-repository/CMF/CMFCollector
In directory cvs.zope.org:/tmp/cvs-serv29861
Modified Files:
CollectorIssue.py
Log Message:
Quote names to avoid violating rfc822-style addressing constraints.
=== CMF/CMFCollector/CollectorIssue.py 1.47 => 1.48 ===
--- CMF/CMFCollector/CollectorIssue.py:1.47 Thu Oct 3 12:32:18 2002
+++ CMF/CMFCollector/CollectorIssue.py Thu Nov 7 16:49:11 2002
@@ -482,7 +482,7 @@
recipients.append(se)
if recipients:
- to = ", ".join(["%s <%s>" % (name, email)
+ to = ", ".join(['"%s" <%s>' % (name, email)
for name, email in recipients])
title = self.aq_parent.title[:50]
short_title = " ".join(title[:40].split(" ")[:-1]) or title