[CalendarServer-changes] [2307] CalendarServer/branches/release/CalendarServer-1.3-dev/lib-patches/ Twisted/twisted.web2.dav.xattrprops.patch

source_changes at macosforge.org source_changes at macosforge.org
Mon Apr 14 11:39:24 PDT 2008


Revision: 2307
          http://trac.macosforge.org/projects/calendarserver/changeset/2307
Author:   wsanchez at apple.com
Date:     2008-04-14 11:39:23 -0700 (Mon, 14 Apr 2008)

Log Message:
-----------
unpickle/decompress in the correct order

Modified Paths:
--------------
    CalendarServer/branches/release/CalendarServer-1.3-dev/lib-patches/Twisted/twisted.web2.dav.xattrprops.patch

Modified: CalendarServer/branches/release/CalendarServer-1.3-dev/lib-patches/Twisted/twisted.web2.dav.xattrprops.patch
===================================================================
--- CalendarServer/branches/release/CalendarServer-1.3-dev/lib-patches/Twisted/twisted.web2.dav.xattrprops.patch	2008-04-14 16:44:58 UTC (rev 2306)
+++ CalendarServer/branches/release/CalendarServer-1.3-dev/lib-patches/Twisted/twisted.web2.dav.xattrprops.patch	2008-04-14 18:39:23 UTC (rev 2307)
@@ -55,7 +55,7 @@
  
 -        doc = davxml.WebDAVDocument.fromString(value)
 +        try:
-+            return decompress(unpickle(data))
++            return unpickle(decompress(data))
 +        except UnpicklingError:
 +            try:
 +                # Data is not pickled; try reading as compressed XML text

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080414/e43d4345/attachment.html


More information about the calendarserver-changes mailing list