[CalendarServer-changes] [7907] CalendarServer/branches/users/glyph/imip-and-admin-html/ twistedcaldav/mail.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Aug 11 21:41:25 PDT 2011


Revision: 7907
          http://trac.macosforge.org/projects/calendarserver/changeset/7907
Author:   glyph at apple.com
Date:     2011-08-11 21:41:24 -0700 (Thu, 11 Aug 2011)
Log Message:
-----------
re-add comma separations

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/imip-and-admin-html/twistedcaldav/mail.py

Modified: CalendarServer/branches/users/glyph/imip-and-admin-html/twistedcaldav/mail.py
===================================================================
--- CalendarServer/branches/users/glyph/imip-and-admin-html/twistedcaldav/mail.py	2011-08-12 04:41:14 UTC (rev 7906)
+++ CalendarServer/branches/users/glyph/imip-and-admin-html/twistedcaldav/mail.py	2011-08-12 04:41:24 UTC (rev 7907)
@@ -1431,7 +1431,13 @@
         # template fragment.  Luckily that fragment is the same regardless
         # of the rest of the template.
         htmlAttendees = []
+        first = True
         for cn, mailto in attendees:
+            if not first:
+                htmlAttendees.append(u", ")
+            else:
+                first = False
+
             if mailto:
                 if not cn:
                     cn = mailto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110811/b939ecbc/attachment.html>


More information about the calendarserver-changes mailing list