[CalendarServer-changes] [9913] CalendarServer/trunk/txdav/common/datastore/sql.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Oct 9 13:22:58 PDT 2012


Revision: 9913
          http://trac.calendarserver.org//changeset/9913
Author:   cdaboo at apple.com
Date:     2012-10-09 13:22:58 -0700 (Tue, 09 Oct 2012)
Log Message:
-----------
Fix off by one error with calendar metadata.

Modified Paths:
--------------
    CalendarServer/trunk/txdav/common/datastore/sql.py

Modified: CalendarServer/trunk/txdav/common/datastore/sql.py
===================================================================
--- CalendarServer/trunk/txdav/common/datastore/sql.py	2012-10-09 20:21:50 UTC (rev 9912)
+++ CalendarServer/trunk/txdav/common/datastore/sql.py	2012-10-09 20:22:58 UTC (rev 9913)
@@ -2526,7 +2526,7 @@
         # Create the actual objects merging in properties
         for items in dataRows:
             bindMode, homeID, resourceID, resourceName, bindStatus, bindMessage = items[:6] #@UnusedVariable
-            metadata = items[7:]
+            metadata = items[6:]
 
             if bindStatus == _BIND_MODE_OWN:
                 ownerHome = home
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20121009/9c7dd458/attachment-0001.html>


More information about the calendarserver-changes mailing list