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

source_changes at macosforge.org source_changes at macosforge.org
Wed Jan 25 17:06:09 PST 2012


Revision: 8591
          http://trac.macosforge.org/projects/calendarserver/changeset/8591
Author:   cdaboo at apple.com
Date:     2012-01-25 17:06:09 -0800 (Wed, 25 Jan 2012)
Log Message:
-----------
Get the column not the whole row.

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-01-25 19:53:14 UTC (rev 8590)
+++ CalendarServer/trunk/txdav/common/datastore/sql.py	2012-01-26 01:06:09 UTC (rev 8591)
@@ -1975,7 +1975,7 @@
 
         # Create this object
         resourceID = (
-            yield cls._insertHomeChild.on(home._txn))[0]
+            yield cls._insertHomeChild.on(home._txn))[0][0]
 
         # Initialize this object
         _created, _modified = (
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120125/bd087f86/attachment.html>


More information about the calendarserver-changes mailing list