[CalendarServer-changes] [5669] CalendarServer/branches/new-store/txdav/propertystore/xattr.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Jun 3 09:49:32 PDT 2010


Revision: 5669
          http://trac.macosforge.org/projects/calendarserver/changeset/5669
Author:   glyph at apple.com
Date:     2010-06-03 09:49:29 -0700 (Thu, 03 Jun 2010)
Log Message:
-----------
fix wrong API used by untested legacy codepath

Modified Paths:
--------------
    CalendarServer/branches/new-store/txdav/propertystore/xattr.py

Modified: CalendarServer/branches/new-store/txdav/propertystore/xattr.py
===================================================================
--- CalendarServer/branches/new-store/txdav/propertystore/xattr.py	2010-06-01 22:24:00 UTC (rev 5668)
+++ CalendarServer/branches/new-store/txdav/propertystore/xattr.py	2010-06-03 16:49:29 UTC (rev 5669)
@@ -161,7 +161,8 @@
                 legacy = True
 
         if legacy:
-            self.set(doc.root_element)
+            # XXX untested: CDT catches this though.
+            self[key] = doc.root_element
 
         return doc.root_element
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100603/1f8a75f0/attachment.html>


More information about the calendarserver-changes mailing list