[CalendarServer-changes] [5650] CalendarServer/trunk/lib-patches/vobject/vobject.vcard.patch

source_changes at macosforge.org source_changes at macosforge.org
Tue May 25 07:48:25 PDT 2010


Revision: 5650
          http://trac.macosforge.org/projects/calendarserver/changeset/5650
Author:   cdaboo at apple.com
Date:     2010-05-25 07:48:22 -0700 (Tue, 25 May 2010)
Log Message:
-----------
Fix bad photo serialization.

Modified Paths:
--------------
    CalendarServer/trunk/lib-patches/vobject/vobject.vcard.patch

Modified: CalendarServer/trunk/lib-patches/vobject/vobject.vcard.patch
===================================================================
--- CalendarServer/trunk/lib-patches/vobject/vobject.vcard.patch	2010-05-24 22:36:13 UTC (rev 5649)
+++ CalendarServer/trunk/lib-patches/vobject/vobject.vcard.patch	2010-05-25 14:48:22 UTC (rev 5650)
@@ -2,6 +2,15 @@
 ===================================================================
 --- vobject/vcard.py	(revision 218)
 +++ vobject/vcard.py	(working copy)
+@@ -196,7 +196,7 @@
+            can handle PHOTO if it's not wrapped, so don't wrap it."""
+         if wacky_apple_photo_serialize:
+             lineLength = REALLY_LARGE
+-        VCardTextBehavior.serialize(obj, buf, lineLength, validate)
++        return VCardTextBehavior.serialize(obj, buf, lineLength, validate)
+ 
+ registerBehavior(Photo)
+ 
 @@ -207,10 +207,10 @@
      else:
          return stringList
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100525/36426e3f/attachment.html>


More information about the calendarserver-changes mailing list