[CalendarServer-changes] [2890] CalendarServer/branches/users/sagen/mailgateway-2881/lib-patches/ vobject

source_changes at macosforge.org source_changes at macosforge.org
Wed Aug 27 09:15:39 PDT 2008


Revision: 2890
          http://trac.macosforge.org/projects/calendarserver/changeset/2890
Author:   sagen at apple.com
Date:     2008-08-27 09:15:38 -0700 (Wed, 27 Aug 2008)
Log Message:
-----------
Get latest vobject patch

Added Paths:
-----------
    CalendarServer/branches/users/sagen/mailgateway-2881/lib-patches/vobject/vobject.base.patch

Removed Paths:
-------------
    CalendarServer/branches/users/sagen/mailgateway-2881/lib-patches/vobject/src.vobject.base.patch

Deleted: CalendarServer/branches/users/sagen/mailgateway-2881/lib-patches/vobject/src.vobject.base.patch
===================================================================
--- CalendarServer/branches/users/sagen/mailgateway-2881/lib-patches/vobject/src.vobject.base.patch	2008-08-27 15:57:19 UTC (rev 2889)
+++ CalendarServer/branches/users/sagen/mailgateway-2881/lib-patches/vobject/src.vobject.base.patch	2008-08-27 16:15:38 UTC (rev 2890)
@@ -1,24 +0,0 @@
-Index: src/vobject/base.py
-===================================================================
---- src/vobject/base.py	(revision 192)
-+++ src/vobject/base.py	(working copy)
-@@ -273,6 +273,8 @@
-         self.value = copy.copy(copyit.value)
-         self.encoded = self.encoded
-         self.params = copy.copy(copyit.params)
-+        for k,v in self.params.items():
-+            self.params[k] = copy.copy(v)
-         self.singletonparams = copy.copy(copyit.singletonparams)
-         self.lineNumber = copyit.lineNumber
-         
-@@ -912,7 +914,9 @@
-             s.write(str(obj.group + '.'))
-         if DEBUG: logger.debug("Serializing line" + str(obj))
-         s.write(str(obj.name.upper()))
--        for key, paramvals in obj.params.iteritems():
-+        keys = sorted(obj.params.iterkeys())
-+        for key in keys:
-+            paramvals = obj.params[key]
-             s.write(';' + str(key) + '=' + ','.join(map(dquoteEscape, paramvals)).encode("utf-8"))
-         if isinstance(obj.value, unicode):
-             strout = obj.value.encode("utf-8")

Added: CalendarServer/branches/users/sagen/mailgateway-2881/lib-patches/vobject/vobject.base.patch
===================================================================
--- CalendarServer/branches/users/sagen/mailgateway-2881/lib-patches/vobject/vobject.base.patch	                        (rev 0)
+++ CalendarServer/branches/users/sagen/mailgateway-2881/lib-patches/vobject/vobject.base.patch	2008-08-27 16:15:38 UTC (rev 2890)
@@ -0,0 +1,24 @@
+Index: vobject/base.py
+===================================================================
+--- vobject/base.py	(revision 208)
++++ vobject/base.py	(working copy)
+@@ -284,6 +284,8 @@
+         self.value = copy.copy(copyit.value)
+         self.encoded = self.encoded
+         self.params = copy.copy(copyit.params)
++        for k,v in self.params.items():
++            self.params[k] = copy.copy(v)
+         self.singletonparams = copy.copy(copyit.singletonparams)
+         self.lineNumber = copyit.lineNumber
+         
+@@ -953,7 +955,9 @@
+         if obj.group is not None:
+             s.write(obj.group + '.')
+         s.write(obj.name.upper())
+-        for key, paramvals in obj.params.iteritems():
++        keys = sorted(obj.params.iterkeys())
++        for key in keys:
++            paramvals = obj.params[key]
+             s.write(';' + key + '=' + ','.join(dquoteEscape(p) for p in paramvals))
+         s.write(':' + obj.value)
+         if obj.behavior and not startedEncoded: obj.behavior.decode(obj)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080827/889f4ade/attachment-0001.html 


More information about the calendarserver-changes mailing list